Skip to content

Commit ae3aeb9

Browse files
authored
fix: warn on whitespace during landing (#438)
1 parent af4c72c commit ae3aeb9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/landing_session.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class LandingSession extends Session {
6767
cli.separator();
6868
// TODO: check that patches downloaded match metadata.commits
6969
try {
70-
await forceRunAsync('git', ['am', '--whitespace=fix', this.patchPath], {
70+
await forceRunAsync('git', ['am', this.patchPath], {
7171
ignoreFailure: false
7272
});
7373
} catch (ex) {
@@ -78,7 +78,6 @@ class LandingSession extends Session {
7878
await runAsync('git', [
7979
'am',
8080
'-3',
81-
'--whitespace=fix',
8281
this.patchPath
8382
]);
8483
} else {

0 commit comments

Comments
 (0)