Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 3af69ea

Browse files
authored
Merge pull request #359 from dustinrc/run-service-check
Fix run command's service check logic
2 parents 3f9fc90 + 183dd0c commit 3af69ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/app/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func ProjectUp(p project.APIProject, c *cli.Context) error {
174174

175175
// ProjectRun runs a given command within a service's container.
176176
func ProjectRun(p project.APIProject, c *cli.Context) error {
177-
if len(c.Args()) == 1 {
177+
if len(c.Args()) == 0 {
178178
logrus.Fatal("No service specified")
179179
}
180180

0 commit comments

Comments
 (0)