mirror of
https://github.com/github/codeql-action.git
synced 2026-11-05 04:29:40 +00:00
Fix checkUnchanged returning -1
This commit is contained in:
@@ -41,7 +41,7 @@ function checkUnchanged(body: () => void): boolean {
|
||||
} else {
|
||||
// If we get a fail here then this workflow needs attention...
|
||||
console.error("The repository contains uncomitted changes!");
|
||||
return -1;
|
||||
return false;
|
||||
}
|
||||
|
||||
body();
|
||||
|
||||
Reference in New Issue
Block a user