From 22725968e829c1255e07112c62b3e02648bb10af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Mon, 19 Mar 2018 20:01:25 -0400 Subject: [PATCH] Fix `yarn coverage` script on Windows --- package.json | 2 +- test/.nycrc-mocha-webpack | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 290fa134..6de72d0f 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "homepage": "https://thelounge.chat/", "scripts": { "build": "webpack", - "coverage": "rm -rf .nyc_output/ && run-s test:{client,server} && nyc --nycrc-path=test/.nycrc-report report", + "coverage": "run-s test:{client,server} && nyc --nycrc-path=test/.nycrc-report report", "dev": "run-p watch start", "lint:css": "stylelint --color \"client/**/*.css\"", "lint:js": "eslint . --report-unused-disable-directives --color", diff --git a/test/.nycrc-mocha-webpack b/test/.nycrc-mocha-webpack index 1712592a..587007bb 100644 --- a/test/.nycrc-mocha-webpack +++ b/test/.nycrc-mocha-webpack @@ -6,6 +6,5 @@ "reporter": [ "json", "text-summary" - ], - "clean": false + ] }