@@ -541,7 +541,7 @@ func createAgent(ctx context.Context, cmd *cli.Command) error {
541541
542542 projectType , err := agentfs .DetectProjectType (os .DirFS (workingDir ))
543543 if err != nil {
544- return fmt .Errorf ("unable to determine app language: %w, please make sure you are inside your app's directory and are using a supported language" , err )
544+ return fmt .Errorf ("unable to determine app language: %w, please make sure you are inside an app directory and are using a supported language" , err )
545545 }
546546 fmt .Printf ("Detected app language [%s]\n " , util .Accented (string (projectType )))
547547
@@ -717,7 +717,7 @@ func deployAgent(ctx context.Context, cmd *cli.Command) error {
717717
718718 projectType , err := agentfs .DetectProjectType (os .DirFS (workingDir ))
719719 if err != nil {
720- return fmt .Errorf ("unable to determine app language: %w, please make sure you are inside your app's directory and are using a supported language" , err )
720+ return fmt .Errorf ("unable to determine app language: %w, please make sure you are inside an app directory and are using a supported language" , err )
721721 }
722722 fmt .Printf ("Detected app language [%s]\n " , util .Accented (string (projectType )))
723723
@@ -1438,7 +1438,7 @@ func generateAgentDockerfile(ctx context.Context, cmd *cli.Command) error {
14381438
14391439 projectType , err := agentfs .DetectProjectType (os .DirFS (workingDir ))
14401440 if err != nil {
1441- return fmt .Errorf ("unable to determine app language: %w, please make sure you are inside your app's directory and are using a supported language" , err )
1441+ return fmt .Errorf ("unable to determine app language: %w, please make sure you are inside an app directory and are using a supported language" , err )
14421442 }
14431443 fmt .Printf ("Detected app language [%s]\n " , util .Accented (string (projectType )))
14441444
0 commit comments