Przeglądaj źródła

Fix prettier task

Simon Detheridge 6 lat temu
rodzic
commit
0312b00150
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      services/filestore/package.json

+ 2 - 2
services/filestore/package.json

@@ -14,8 +14,8 @@
     "start": "node $NODE_APP_OPTIONS app.js",
     "start": "node $NODE_APP_OPTIONS app.js",
     "nodemon": "nodemon --config nodemon.json",
     "nodemon": "nodemon --config nodemon.json",
     "lint": "node_modules/.bin/eslint .",
     "lint": "node_modules/.bin/eslint .",
-    "format": "node_modules/.bin/prettier-eslint '**/*.js' --list-different",
-    "format:fix": "node_modules/.bin/prettier-eslint '**/*.js' --write",
+    "format": "node_modules/.bin/prettier-eslint $PWD'/**/*.js' --list-different",
+    "format:fix": "node_modules/.bin/prettier-eslint $PWD'/**/*.js' --write",
     "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
     "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js"
     "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js"
   },
   },