File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -160,8 +160,8 @@ class TestContext {
160160 * @param {any } config
161161 * @returns {Promise.<CommandOutput> }
162162 */
163- runEask ( command , config , safe = false ) {
164- return this . run ( this . easkCommand + " " + command , config , safe ) ;
163+ runEask ( command , config ) {
164+ return this . run ( this . easkCommand + " " + command , config ) ;
165165 }
166166
167167 /**
@@ -173,7 +173,7 @@ class TestContext {
173173 * @param {any } config
174174 * @returns {Promise.<CommandOutput> }
175175 */
176- run ( command , config , safe = false ) {
176+ run ( command , config ) {
177177 return exec ( command , {
178178 cwd : this . cwd ,
179179 signal : this . controller . signal ,
@@ -191,9 +191,6 @@ class TestContext {
191191 return new CommandOutput ( obj , this . cwd ) ;
192192 } )
193193 . catch ( ( err ) => {
194- if ( safe )
195- return this . errorToCommandOutput ( err ) ;
196-
197194 if ( ! err . code )
198195 err . message += "\nexec: TIMEOUT" ;
199196
Original file line number Diff line number Diff line change 44// Notice, below we clone a random package (repo) that uses Eask as the
55// dependencies management tool.
66
7+ const cmp = require ( 'semver-compare' ) ;
78const { emacsVersion, TestContext } = require ( "./helpers" ) ;
89
910describe ( "local" , ( ) => {
You can’t perform that action at this time.
0 commit comments