File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
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
@@ -83,7 +82,7 @@ tests/cases/user/*/**/*.d.ts
83
82
tests /baselines /reference /dt
84
83
.failed-tests
85
84
TEST-results.xml
86
- package-lock.json
85
+ / package-lock.json
87
86
tests /cases /user /TypeScript-React-Starter /TypeScript-React-Starter
88
87
tests /cases /user /TypeScript-Node-Starter /TypeScript-Node-Starter
89
88
tests /cases /user /TypeScript-React-Native-Starter /TypeScript-React-Native-Starter
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ namespace Harness {
69
69
cwd = config . path ? path . join ( cwd , config . path ) : submoduleDir ;
70
70
}
71
71
if ( fs . existsSync ( path . join ( cwd , "package.json" ) ) ) {
72
- if ( fs . existsSync ( path . join ( cwd , "package-lock.json" ) ) ) {
72
+ if ( ! process . env . SOURCE_ISSUE && fs . existsSync ( path . join ( cwd , "package-lock.json" ) ) ) {
73
73
fs . unlinkSync ( path . join ( cwd , "package-lock.json" ) ) ;
74
74
}
75
75
if ( fs . existsSync ( path . join ( cwd , "node_modules" ) ) ) {
You can’t perform that action at this time.
0 commit comments