Skip to content

Commit 6dcb4a7

Browse files
committed
formatting js properly
1 parent 450f2e6 commit 6dcb4a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var AWS_SECRET_ACCESS_KEY = core.getInput('aws-secret-access-key')
1212

1313
// Reinstalls Docker on Ubuntu
1414
async function installDocker() {
15-
exeq(
15+
await exeq(
1616
'echo Installing docker...',
1717
'sudo apt-get install docker.io -y',
1818
'sudo systemctl unmask docker',
@@ -22,7 +22,7 @@ async function installDocker() {
2222

2323
// Installs Serverless and specified plugins
2424
async function installServerlessAndPlugins() {
25-
exeq(
25+
await exeq(
2626
'echo Installing Serverless and plugins...',
2727
'sudo npm i serverless -g',
2828
'sudo npm i serverless-python-requirements',
@@ -32,7 +32,7 @@ async function installServerlessAndPlugins() {
3232

3333
// Runs Serverless deploy including any provided args
3434
async function runServerlessDeploy() {
35-
exeq(
35+
await exeq(
3636
`echo Running sudo sls deploy ${ARGS}...`,
3737
`sudo sls config credentials --provider aws --key ${AWS_ACCESS_KEY_ID} --secret ${AWS_SECRET_ACCESS_KEY} ${ARGS}`,
3838
`sudo sls deploy ${ARGS}`

0 commit comments

Comments
 (0)