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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
More descriptive error
Co-authored-by: Satya Rohith <[email protected]>
Signed-off-by: Mike Mulchrone <[email protected]>
  • Loading branch information
WingZer0o and satyarohith committed May 28, 2024
commit b159e335fa0c9b8e0535a5be5c82e4cd6201a0d3
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!("deno task error: No config file found. See https://deno.land/manual@v{}/getting_started/configuration_file", env!("CARGO_PKG_VERSION"))
bail!("deno task couldn't find deno.json(c). See https://deno.land/manual@v{}/getting_started/configuration_file", env!("CARGO_PKG_VERSION"))
}
}

Expand Down
Loading