diff options
author | Mike Mulchrone <mikemulchrone987@gmail.com> | 2024-05-28 09:33:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 13:33:08 +0000 |
commit | dc5c799c398ef1c396ff765726b93b65a4f2996b (patch) | |
tree | 2ae642de94209bad48e8bd66b9dc148d70678c3a | |
parent | 8c9d1ba1d719c97daabe1adf77e30f746b4edf44 (diff) |
fix(deno_task): more descriptive error message (#24001)
Signed-off-by: Mike Mulchrone <mikemulchrone987@gmail.com>
Co-authored-by: Satya Rohith <me@satyarohith.com>
-rw-r--r-- | cli/args/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs index c9101f590..a1ca6d9a7 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -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")) } } |