diff --git a/index.js b/index.js index d30cd7dd..c1459550 100644 --- a/index.js +++ b/index.js @@ -155,7 +155,7 @@ async function getLocalChanges(path) { const output = await runShellCommand(`git status ${path || "*"}`); if (/Your branch is up to date/.test(output)) { - return; + return {}; } const hasUncommitedChanges = /(Changes to be committed|Changes not staged|Untracked files)/.test(