Skip to content

Commit

Permalink
Some minor bugs test about delete, prune and pullImage.
Browse files Browse the repository at this point in the history
  • Loading branch information
nevzatcirak committed Sep 14, 2023
1 parent 3f36e40 commit a7cb4eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/ActionConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ const getStackParams = (): StackParams => {
return {
name: core.getInput('stack_name', {required: true}),
file,
delete: !!core.getInput('delete', {required: false}).length,
prune: !!core.getInput('prune', {required: false}).length,
pullImage: !!core.getInput('pullImage', {required: false}).length
delete: core.getInput('delete', {required: false}) === "true",
prune: core.getInput('prune', {required: false}) === "true",
pullImage: core.getInput('pullImage', {required: false}) === "true"
};
}

Expand Down

0 comments on commit a7cb4eb

Please sign in to comment.