Fix lint script to analyze nested files

This commit is contained in:
Brandon Millman
2017-10-19 12:02:51 -07:00
parent 32e8e52ad7
commit b3d8cefbe6
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
"postpublish": "run-s release docs:json upload_docs_json",
"release": "publish-release --assets _bundles/index.js,_bundles/index.min.js --tag $(git describe --tags) --owner 0xProject --repo 0x.js",
"upload_docs_json": "aws s3 cp docs/index.json s3://0xjs-docs-jsons/$(git describe --tags).json --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type aplication/json",
"lint": "tslint src/*.ts test/*.ts",
"lint": "tslint src/**/*.ts test/**/*.ts",
"test": "run-s clean test:commonjs",
"test:umd": "./scripts/test_umd.sh",
"test:coverage": "nyc npm run test --all",

View File

@@ -41,7 +41,7 @@ export class RPC {
uri: `http://${this.host}:${this.port}`,
body: payload,
headers: {
'content-type': 'application/json'
'content-type': 'application/json',
},
};
const bodyString = await request(opts);