diff --git a/packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/projects/git/index.js b/packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/projects/git/index.js index 111365307..8aabcebe2 100644 --- a/packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/projects/git/index.js +++ b/packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/projects/git/index.js @@ -71,6 +71,8 @@ function runGitCommand(args,cwd,env,emit) { err.code = "git_missing_user"; } else if (/name consists only of disallowed characters/i.test(stderr)) { err.code = "git_missing_user"; + } else if (/nothing (add )?to commit/i.test(stdout)) { + return stdout; } throw err; })