mirror of
https://github.com/opbnq-q/nto-cli.git
synced 2025-12-06 18:00:33 +07:00
fix
This commit is contained in:
@@ -21,7 +21,7 @@ func FindFrontendPath() string {
|
||||
currentPath = filepath.Clean(dir)
|
||||
}
|
||||
|
||||
if len(dirs) < 2 || dirs[len(dirs)-2]+"/"+dirs[len(dirs)-1] != "frontend/src" {
|
||||
if len(dirs) < 2 || dirs[len(dirs)-2] + "/" + dirs[len(dirs)-1] != "frontend/src" {
|
||||
panic(errors.New("You're not in frontend/src"))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user