Skip to content

Commit cede5d1

Browse files
Fix the linter (#75)
1 parent 60f151c commit cede5d1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/google-cloud-oslogin/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
"lint": "eslint src/ samples/ system-test/ test/",
4646
"prettier": "prettier --write src/*.js src/*/*.js samples/*.js samples/*/*.js test/*.js test/*/*.js system-test/*.js system-test/*/*.js smoke-test/*.js",
4747
"docs": "jsdoc -c .jsdoc.js",
48-
"system-test": "mocha system-test/*.js smoke-test/*.js --timeout 600000"
48+
"system-test": "mocha system-test/*.js smoke-test/*.js --timeout 600000",
49+
"fix": "eslint --fix '**/*.js' && npm run prettier"
4950
},
5051
"dependencies": {
5152
"google-gax": "^0.20.0",

packages/google-cloud-oslogin/src/v1beta/os_login_service_client.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class OsLoginServiceClient {
142142
'importSshPublicKey',
143143
'updateSshPublicKey',
144144
];
145-
for (let methodName of osLoginServiceStubMethods) {
145+
for (const methodName of osLoginServiceStubMethods) {
146146
this._innerApiCalls[methodName] = gax.createApiCall(
147147
osLoginServiceStub.then(
148148
stub =>

0 commit comments

Comments
 (0)