File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ internal/
72
72
yarn.lock
73
73
yarn-error.log
74
74
.parallelperf. *
75
- tests /cases /user /* /package-lock.json
76
75
tests /cases /user /* /node_modules /
77
76
tests /cases /user /* /** /* .js
78
77
tests /cases /user /* /** /* .js.map
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ abstract class ExternalCompileRunnerBase extends RunnerBase {
66
66
cwd = config . path ? path . join ( cwd , config . path ) : submoduleDir ;
67
67
}
68
68
if ( fs . existsSync ( path . join ( cwd , "package.json" ) ) ) {
69
- if ( fs . existsSync ( path . join ( cwd , "package-lock.json" ) ) ) {
69
+ if ( process . env . TRAVIS_EVENT_TYPE === "cron" && fs . existsSync ( path . join ( cwd , "package-lock.json" ) ) ) {
70
70
fs . unlinkSync ( path . join ( cwd , "package-lock.json" ) ) ;
71
71
}
72
72
if ( fs . existsSync ( path . join ( cwd , "node_modules" ) ) ) {
You can’t perform that action at this time.
0 commit comments