Skip to content

Commit

Permalink
Use sprintf instead of concat
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikmilk committed Oct 23, 2023
1 parent 4b6ae38 commit a23184d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func sign() {
fmt.Print(ansi("done!", green) + "\n")
}

removeErr := os.Remove(relativePath + workflowName + "_unsigned.shortcut")
removeErr := os.Remove(fmt.Sprintf("%s%s_unsigned.shortcut", relativePath, workflowName))
handle(removeErr)

if args.Using("import") {
Expand Down

0 comments on commit a23184d

Please # to comment.