From 6ad8583a8b7afd2d0441aa6f5b235226577fac5d Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Sun, 16 Sep 2018 01:40:20 +1000 Subject: [PATCH] chore: remove --version from "create-api-json" (#14634) The variable already defaults to this value and this `$` syntax does not work cross platform Closes #13462 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4ee3678b672..eb336316427 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "lint:docs": "remark docs -qf && npm run lint:js-in-markdown && npm run create-typescript-definitions && npm run lint:docs-relative-links", "lint:docs-relative-links": "python ./script/check-relative-doc-links.py", "lint:js-in-markdown": "standard-markdown docs", - "create-api-json": "electron-docs-linter docs --outfile=electron-api.json --version=$npm_package_version", + "create-api-json": "electron-docs-linter docs --outfile=electron-api.json", "create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=electron-api.json --out=electron.d.ts", "preinstall": "node -e 'process.exit(0)'", "precommit": "python script/run-clang-format.py -r -c atom/ chromium_src/ brightray/ && node ./script/cpplint.js -c && npm run lint:js && remark docs -qf || (echo \"Code not formatted correctly.\" && exit 1)",