Skip to content

Commit f943e91

Browse files
committed
Update the build script for windows
The command to make a directory isn't the same on Macs and Windows!
1 parent 1351dc6 commit f943e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

course-02/project/image-filter-starter-code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
88
"clean": "rm -rf www/ || true",
9-
"build": "npm run clean && tsc && cp package.json www/package.json && mkdir www/tmp/ && cd www && zip -r Archive.zip . && cd ..",
9+
"build": "npm run clean && tsc && cp package.json www/package.json && mkdir www\\tmp && cd www && zip -r Archive.zip . && cd ..",
1010
"dev": "ts-node-dev --respawn --transpileOnly ./src/server.ts"
1111
},
1212
"repository": {

0 commit comments

Comments
 (0)