File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -392,6 +392,11 @@ def configure():
392
392
def main (args ):
393
393
options = parse_args (args )
394
394
395
+ if os .path .isfile (utils .path_from_root ('package.json' )):
396
+ os .remove (utils .path_from_root ('package.json' ))
397
+ if os .path .isfile (utils .path_from_root ('package-lock.json' )):
398
+ os .remove (utils .path_from_root ('package-lock.json' ))
399
+
395
400
# Some options make sense being set in the environment, others not-so-much.
396
401
# TODO(sbc): eventually just make these command-line only.
397
402
if os .getenv ('EMTEST_SAVE_DIR' ):
Original file line number Diff line number Diff line change 2
2
3
3
'use strict' ;
4
4
5
- const terser = require ( '../third_party/terser/terser' ) ;
6
5
const acorn = require ( '../node_modules/acorn/dist/acorn' ) ;
6
+ const terser = require ( '../third_party/terser/terser' ) ;
7
7
const fs = require ( 'fs' ) ;
8
8
9
9
// Utilities
You can’t perform that action at this time.
0 commit comments