Skip to content

Commit c204f85

Browse files
committed
fix(app): update error message for empty app path in Load function
1 parent 20aec45 commit c204f85

File tree

1 file changed

+1
-1
lines changed
  • internal/orchestrator/app

1 file changed

+1
-1
lines changed

internal/orchestrator/app/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ type ArduinoApp struct {
3939
// by file type.
4040
func Load(dir *paths.Path) (ArduinoApp, error) {
4141
if dir == nil {
42-
return ArduinoApp{}, errors.New("path cannot be empty")
42+
return ArduinoApp{}, errors.New("empty app path")
4343
}
4444

4545
exist, err := dir.IsDirCheck()

0 commit comments

Comments
 (0)