Skip to content

Commit

Permalink
fix: warn on whitespace during landing (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alicia Lopez committed Jun 11, 2020
1 parent 90e8e7c commit 5a48591
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/landing_session.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class LandingSession extends Session {
cli.separator();
// TODO: check that patches downloaded match metadata.commits
try {
await forceRunAsync('git', ['am', '--whitespace=fix', this.patchPath], {
await forceRunAsync('git', ['am', this.patchPath], {
ignoreFailure: false
});
} catch (ex) {
Expand All @@ -78,7 +78,6 @@ class LandingSession extends Session {
await runAsync('git', [
'am',
'-3',
'--whitespace=fix',
this.patchPath
]);
} else {
Expand Down

0 comments on commit 5a48591

Please sign in to comment.