Skip to content

Commit 8c0b4ed

Browse files
committed
fixed parameter
1 parent 356a0a3 commit 8c0b4ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async function installServerlessAndPlugins() {
4949
// }
5050

5151
// Runs Serverless deploy including any provided args
52-
async function runServerlessDeploy(setCredentials) {
52+
async function runServerlessDeploy() {
5353
await exeq(
5454
`echo Running sudo sls deploy ${ARGS}...`,
5555
`sudo sls config credentials --provider aws --key ${AWS_ACCESS_KEY_ID} --secret ${AWS_SECRET_ACCESS_KEY} ${ARGS}`,
@@ -63,7 +63,7 @@ async function handler() {
6363
await installDocker()
6464
await installServerlessAndPlugins()
6565
// var setCredentials = await setServerlessCredentials()
66-
await runServerlessDeploy(setCredentials)
66+
await runServerlessDeploy()
6767
}
6868

6969
// Main function

0 commit comments

Comments
 (0)