From 82ce1a76921966f8c055b78108672d174f3e957f Mon Sep 17 00:00:00 2001
From: SondreB <sondre@outlook.com>
Date: Sun, 15 Dec 2019 12:53:52 +0100
Subject: [PATCH] Update package.json to be compatible with Windows

- Add double-quote to prettier execution.
- Remove the logging output to /dev/null. This does cause a bit more logging to be outputted.
- Closes #1523
---
 package.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package.json b/package.json
index c239e9f..6fc8291 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,7 @@
     "coverage-html": "npm run build && npm run nobuild:coverage-html",
     "coverage": "npm run build && npm run nobuild:coverage",
     "format": "npm run prettier -- --write",
-    "formatjs": "npm run prettierjs -- --write > /dev/null 2>&1",
+    "formatjs": "npm run prettierjs -- --write",
     "format:ci": "npm run prettier -- --check && npm run prettierjs -- --check",
     "gitdiff:ci": "npm run build && git diff --exit-code",
     "integration": "npm run build && npm run nobuild:integration",
@@ -35,8 +35,8 @@
     "nobuild:coverage": "npm run build:tests && nyc --check-coverage --branches 90 --functions 90 --lines 90 mocha && npm run clean:jstests",
     "nobuild:integration": "npm run mocha:ts -- --timeout 50000 'test/integration/*.ts'",
     "nobuild:unit": "npm run mocha:ts -- 'test/*.ts'",
-    "prettier": "prettier 'ts_src/**/*.ts' 'test/**/*.ts' --ignore-path ./.prettierignore",
-    "prettierjs": "prettier 'src/**/*.js' --ignore-path ./.prettierignore",
+    "prettier": "prettier \"ts_src/**/*.ts\" \"test/**/*.ts\" --ignore-path ./.prettierignore",
+    "prettierjs": "prettier \"src/**/*.js\" --ignore-path ./.prettierignore",
     "test": "npm run build && npm run format:ci && npm run lint && npm run nobuild:coverage",
     "unit": "npm run build && npm run nobuild:unit"
   },