mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
ci: Fix linting issues (no-changelog) (#6788)
* ci: Fix linting (no-changelog) * lintfix for nodes-base as well
This commit is contained in:
committed by
GitHub
parent
4e491b754f
commit
6fb8a9ee39
@@ -70,11 +70,7 @@ export class Execute extends BaseCommand {
|
||||
|
||||
// Do a basic check if the data in the file looks right
|
||||
// TODO: Later check with the help of TypeScript data if it is valid or not
|
||||
if (
|
||||
workflowData === null ||
|
||||
workflowData.nodes === undefined ||
|
||||
workflowData.connections === undefined
|
||||
) {
|
||||
if (workflowData?.nodes === undefined || workflowData.connections === undefined) {
|
||||
this.logger.info(`The file "${flags.file}" does not contain valid workflow data.`);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user