We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebc8fb2 commit e379e9fCopy full SHA for e379e9f
lib/landing_session.js
@@ -137,8 +137,12 @@ class LandingSession extends Session {
137
return true;
138
}
139
140
- const linted = await runAsync('make', ['lint']);
141
- return linted;
+ try {
+ await runAsync('make', ['lint']);
142
+ return true;
143
+ } catch {
144
+ return false;
145
+ }
146
147
148
async tryCompleteLanding(patch) {
@@ -216,6 +220,8 @@ class LandingSession extends Session {
216
220
'`git node land --continue`.');
217
221
process.exit(1);
218
222
223
+ } else {
224
+ cli.ok('Lint passed cleanly');
219
225
226
227
this.startAmending();
0 commit comments