Skip to content

Commit

Permalink
Improve the config missing message
Browse files Browse the repository at this point in the history
  • Loading branch information
chasefleming committed Nov 18, 2024
1 parent 888f6d2 commit 278fc15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/emulator/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func configuredServiceKey(
state, err = flowkit.Load(command.Flags.ConfigPaths, loader)
if err != nil {
if errors.Is(err, config.ErrDoesNotExist) {
exitf(1, "🙏 Configuration is missing, initialize it with: 'flow init' and then rerun this command.")
exitf(1, "🙏 Configuration (flow.json) is missing, are you in the correct directory? If you are trying to create a new project, initialize it with 'flow init' and then rerun this command.")
} else {
exitf(1, err.Error())
}
Expand Down

0 comments on commit 278fc15

Please sign in to comment.