Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): error on missing config file #7154

Merged
merged 5 commits into from
Jul 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(app_test): simplify string to check for missing configuration error
Part of the message is OS dependent so remove it to ensure it passes
on all platforms.
  • Loading branch information
sgaist committed Jul 18, 2024
commit 300d2d8d621a73af9cc175cb47789925d3727656
2 changes: 1 addition & 1 deletion pkg/commands/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ func TestFlags(t *testing.T) {
"--config",
"none",
},
wantErr: `config file "none" loading error: open none: no such file or directory`,
wantErr: `config file "none" loading error: open none:`,
},
}

Expand Down
Loading