Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jkawamoto committed Apr 11, 2024
1 parent fac6917 commit 16c07c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/pd/command/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ func parseRecipientFile(name string) (_ []age.Recipient, err error) {
}

func parseArgument(arg string) (path string, name string, _ error) {
if strings.HasPrefix(path, "-:") {
return "-", strings.TrimPrefix(path, "-:"), nil
if strings.HasPrefix(arg, "-:") {
return "-", strings.TrimPrefix(arg, "-:"), nil
}

volume := filepath.VolumeName(arg)
Expand Down

0 comments on commit 16c07c7

Please sign in to comment.