Skip to content

Commit f7936e1

Browse files
committed
Fix npm run build failure in case there is no ./out folder
Signed-off-by: Denis Golovin <dgolovin@redhat.com>
1 parent 525d0d4 commit f7936e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@
978978
"vscode:prepublish": "npm run build",
979979
"compile": "tsc -p ./",
980980
"watch": "tsc -watch -p ./",
981-
"clean": "rm -rf out || rmdir out /s /q",
981+
"clean": "rm -rf out || rmdir out /s /q || echo 'no out folder, ignoring errors'",
982982
"test": "npm run clean && npm run compile && npm run verify && node ./out/build/unit-tests.js",
983983
"update-deps": "node_modules/.bin/ncu --upgrade --loglevel verbose --packageFile package.json && npm update",
984984
"coverage:upload": "codecov -f coverage/coverage-final.json",

0 commit comments

Comments
 (0)