File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/cli/src/commands Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -176,10 +176,11 @@ async function runBinary(
176176 await fs . promises . chmod ( binPath , '755' ) ;
177177 }
178178 } catch ( e ) {
179- this . warn ( `Failed to download matchstick binary for your platform: ${ e . message } ` ) ;
180- this . warn ( 'Consider using -d flag to run it in Docker instead:' ) ;
181- this . warn ( ' graph test -d' ) ;
182- process . exit ( 1 ) ;
179+ this . error ( `
180+ Failed to download matchstick binary for your platform: ${ e . message }
181+ Consider using -d flag to run it in Docker instead:
182+ graph test -d
183+ ` ) ;
183184 }
184185
185186 const args = [ ] ;
@@ -190,8 +191,7 @@ async function runBinary(
190191 const child = spawn ( binPath , args , { stdio : 'inherit' } ) ;
191192 const [ code ] = await events . once ( child , 'exit' ) ;
192193 if ( code !== 0 ) {
193- this . warn ( 'Matchstick tests failed' ) ;
194- process . exit ( 1 ) ;
194+ this . error ( 'Matchstick failed' ) ;
195195 }
196196}
197197
You can’t perform that action at this time.
0 commit comments