Skip to content

Commit

Permalink
fix(deno_task): more descriptive error message (denoland#24001)
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Mulchrone <[email protected]>
Co-authored-by: Satya Rohith <[email protected]>
  • Loading branch information
WingZer0o and satyarohith committed May 28, 2024
1 parent 8c9d1ba commit dc5c799
Showing 1 changed file with 1 addition and 1 deletion.
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 couldn't find deno.json(c). See https://deno.land/manual@v{}/getting_started/configuration_file", env!("CARGO_PKG_VERSION"))
}
}

Expand Down

0 comments on commit dc5c799

Please sign in to comment.