SkipFlagArgs

This commit is contained in:
xushiwei
2024-04-27 06:41:24 +08:00
parent 3cc83b8ec4
commit c455f6e730
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ func runCmd(cmd *base.Command, args []string) {
}
func parseRunArgs(args []string) ([]string, []string, error) {
n := build.SkipArgs(args)
n := build.SkipFlagArgs(args)
if n < 0 {
return nil, nil, errNoProj
}