Skip to content

Commit ea8075c

Browse files
committed
fix: files cleaned
1 parent d99cd8c commit ea8075c

File tree

4 files changed

+7
-61
lines changed

4 files changed

+7
-61
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ scripts/installer/frameworks/**/helpers
2323
scripts/installer/frameworks/**/universal-schema
2424
scripts/installer/frameworks/**/src/types
2525
scripts/generator/package-lock.json
26-
scripts/generator/package.json
26+
scripts/generator/package.json
27+
package-original.json

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ universal-json-schema.md
4848
wdio-sauce-ci.conf.js
4949
wdio-package.json
5050
changelog.md
51+
package-original.json

package-original.json

Lines changed: 0 additions & 60 deletions
This file was deleted.

scripts/installer/framework-generator.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ const frameworkGenerator = ({
5858
shelljs.rm('-rf', `${shelljs.pwd()}/package.json`);
5959
shelljs.mv(`${shelljs.pwd()}/package-original.json`, `${shelljs.pwd()}/package.json`);
6060
}
61+
62+
if (process.env.CI_RUN) {
63+
shelljs.rm('-rf', `${shelljs.pwd()}/package-original.json`);
64+
}
6165
}
6266

6367
module.exports = frameworkGenerator;

0 commit comments

Comments
 (0)