Skip to content

Commit

Permalink
Fix regex in parse-push.ts
Browse files Browse the repository at this point in the history
Closes #892
  • Loading branch information
stevenwdv committed Feb 1, 2023
1 parent 0d44e0a commit d5c11b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simple-git/src/lib/parsers/parse-push.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const parsers: LineParser<PushDetail>[] = [
local,
};
}),
new LineParser(/^[*-=]\s+([^:]+):(\S+)\s+\[(.+)]$/, (result, [local, remote, type]) => {
new LineParser(/^[=*-]\s+([^:]+):(\S+)\s+\[(.+)]$/, (result, [local, remote, type]) => {
result.pushed.push(pushResultPushedItem(local, remote, type));
}),
new LineParser(
Expand Down

0 comments on commit d5c11b5

Please sign in to comment.