File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const deasync = require('deasync-promise');
3
3
const glob = require ( 'glob-all' ) ;
4
4
const JSZip = require ( 'jszip' ) ;
5
5
const tape = require ( 'tape' ) ;
6
- const { removeSync, readFileSync, readdirSync } = require ( 'fs-extra' ) ;
6
+ const { removeSync, readFileSync } = require ( 'fs-extra' ) ;
7
7
const { sep } = require ( 'path' ) ;
8
8
9
9
const { getUserCachePath } = require ( './lib/shared' ) ;
@@ -27,8 +27,8 @@ const mkCommand = cmd => (args, options = {}) => {
27
27
) ;
28
28
if ( error ) throw error ;
29
29
if ( status ) {
30
- console . error ( stdout . toString ( ) ) ;
31
- console . error ( stderr . toString ( ) ) ;
30
+ console . error ( stdout . toString ( ) ) ; // eslint-disable-line no-console
31
+ console . error ( stderr . toString ( ) ) ; // eslint-disable-line no-console
32
32
throw new Error ( `${ cmd } failed with status code ${ status } ` ) ;
33
33
}
34
34
return stdout && stdout . toString ( ) . trim ( ) ;
You can’t perform that action at this time.
0 commit comments