Skip to content

Commit

Permalink
Update buildtools/cli.go
Browse files Browse the repository at this point in the history
Co-authored-by: Yahav Itschak <[email protected]>
  • Loading branch information
sverdlov93 and yahavi authored Jan 8, 2025
1 parent 83787fc commit d0ea1ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions buildtools/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,9 @@ func NpmPublishCmd(c *cli.Context) (err error) {
}

func setupCmd(c *cli.Context) (err error) {
if c.NArg() > 1 {
return cliutils.WrongNumberOfArgumentsHandler(c)
}
var packageManager project.ProjectType
packageManagerStr := c.Args().Get(0)
// If the package manager was provided as an argument, validate it.
Expand Down

0 comments on commit d0ea1ba

Please sign in to comment.