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(deno_task): more descriptive error message #24001

Merged
merged 3 commits into from
May 28, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Next Next commit
addressing undescriptive error for deno task
  • Loading branch information
WingZer0o committed May 28, 2024
commit e505cac05a25a89abd0e50a6c3b4eff6f1ea6330
2 changes: 1 addition & 1 deletion cli/args/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,7 @@ impl CliOptions {
} else if self.maybe_package_json.is_some() {
Ok(Default::default())
} else {
bail!("No config file found")
bail!("deno task error: No config file found. See https://deno.land/manual@v{}/getting_started/configuration_file", env!("CARGO_PKG_VERSION"))
WingZer0o marked this conversation as resolved.
Show resolved Hide resolved
}
}

Expand Down