Skip to content

Commit 6dc5750

Browse files
authored
pass unprocessed args to taskrunner Process() (#124)
* pass unprocessed args to Process()
1 parent b9caf91 commit 6dc5750

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
- run: make install_deps
2626
- run: make build
2727
- run: make test
28-
- run: if [ "${CIRCLE_BRANCH}" == "master" ]; then make release && $HOME/ci-scripts/circleci/github-release $GH_RELEASE_TOKEN release; fi;
28+
- run: if [ "${CIRCLE_BRANCH}" == "master" ]; then make release && $HOME/ci-scripts/circleci/github-release $GH_RELEASE_TOKEN release; fi;

VERSION

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
v0.9.3
2+
v2 sdk bugfix
3+
14
v0.9.0
25
migrate to aws-sdk-go-v2

cmd/sfncli/sfncli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func main() {
215215
// Run the command. Treat unprocessed args (flag.Args()) as additional args to
216216
// send to the command on every invocation of the command
217217
taskRunner := NewTaskRunner(*cmd, sfnapi, token, *workDirectory)
218-
err = taskRunner.Process(taskCtx, []string{}, input)
218+
err = taskRunner.Process(taskCtx, flag.Args(), input)
219219
if err != nil {
220220
log.ErrorD("task-process-error", logger.M{"error": err.Error()})
221221
taskCtxCancel()

0 commit comments

Comments
 (0)