refactor: Remove executeSingle (no-changelog) (#4853)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-06-23 10:50:08 +02:00
committed by GitHub
parent 3db2707b8e
commit 9194d8bb0e
4 changed files with 7 additions and 43 deletions

View File

@@ -109,9 +109,8 @@ export abstract class DirectoryLoader {
nodeVersion = tempNode.currentVersion;
if (currentVersionNode.hasOwnProperty('executeSingle')) {
Logger.warn(
`"executeSingle" will get deprecated soon. Please update the code of node "${this.packageName}.${nodeName}" to use "execute" instead!`,
{ filePath },
throw new Error(
`"executeSingle" has been removed. Please update the code of node "${this.packageName}.${nodeName}" to use "execute" instead!`,
);
}
} else {