Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Commit 457b112

Browse files
committed
fixup! Allow repos as filepaths in sail run
1 parent 9c72eab commit 457b112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

globalflags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func requireRepo(conf config, prefs schemaPrefs, fl *flag.FlagSet) repo {
8383
}
8484

8585
// pathIsRunnable returns the container name if the given path exists and is
86-
// in the projects directory, else an empty string An error is returned if
86+
// in the projects directory, else an empty string. An error is returned if
8787
// and only if the path exists but it isn't in the user's project directory.
8888
func pathIsRunnable(conf config, path string) (cnt string, _ error) {
8989
fp, err := filepath.Abs(path)

0 commit comments

Comments
 (0)