This commit is contained in:
Joao Moreno
2018-09-19 16:02:33 +02:00
parent c604a53c37
commit 08c2ce4910

View File

@@ -957,7 +957,7 @@ export class Repository {
try {
await this.run(args);
} catch (err) {
if (/Please, commit your changes or stash them/.test(err.stderr || '')) {
if (/Please,? commit your changes or stash them/.test(err.stderr || '')) {
err.gitErrorCode = GitErrorCodes.DirtyWorkTree;
}