Skip to content

Commit e98b7cd

Browse files
authored
fix undefined (#3)
fixed `Error: port is not defined`
1 parent bd456d5 commit e98b7cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ async function run () {
2525
cmd += ` -project=${inputs.project}`
2626
cmd += ` -name=${inputs.name}`
2727
cmd += ` -image=${inputs.image}`
28-
if (!!inputs.port) cmd += ` -port=${port}`
29-
if (!!inputs.type) cmd += ` -type=${type}`
28+
if (!!inputs.port) cmd += ` -port=${inputs.port}`
29+
if (!!inputs.type) cmd += ` -type=${inputs.type}`
3030
if (!!inputs.minReplicas) cmd += ` -minReplicas=${inputs.minReplicas}`
3131
if (!!inputs.maxReplicas) cmd += ` -maxReplicas=${inputs.maxReplicas}`
3232

0 commit comments

Comments
 (0)