Skip to content

Commit

Permalink
fix missing 'neutral' in platform description (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
hardfist authored Jan 20, 2021
1 parent ac37114 commit ce6e13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cli/cli_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ func parseOptionsImpl(osArgs []string, buildOpts *api.BuildOptions, transformOpt
case "neutral":
buildOpts.Platform = api.PlatformNeutral
default:
return fmt.Errorf("Invalid platform: %q (valid: browser, node)", value)
return fmt.Errorf("Invalid platform: %q (valid: browser, node, neutral)", value)
}

case strings.HasPrefix(arg, "--format="):
Expand Down

0 comments on commit ce6e13b

Please sign in to comment.