ci: don't exit(1) when pre-commiting partially staged files

This commit is contained in:
Sérgio Ramos 2017-10-12 19:44:09 +01:00
parent 8e26542b91
commit 52fdc0f7dd
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ const staged = async () => {
modifieds.forEach(modified =>
console.log('PARTIALLY STAGED FILE ', modified.filename)
);
process.exit(1);
process.exit(0);
}
};

View File

@ -107,7 +107,7 @@ const runLintAndGitAdd = async (staged, pkgs) => {
modifieds.forEach(modified =>
console.log('PARTIALLY STAGED FILE ', modified.filename)
);
process.exit(1);
process.exit(0);
}
};