Skip to content

Commit bfcc9b7

Browse files
committed
Work around installation of dependencies of mock-server in non-local environments (#398)
1 parent bc3c025 commit bfcc9b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"package": "npx yarn pack --filename openapi-cop.tgz",
4242
"preinstall": "npx per-env",
4343
"preinstall:production": "",
44-
"preinstall:development": "cd mock-server && npm install"
44+
"preinstall:development": "(test -d mock-server && cd mock-server && npm install) || true"
4545
},
4646
"dependencies": {
4747
"@types/express": "4.17.13",

0 commit comments

Comments
 (0)