mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
fix(deno_task): more descriptive error message (#24001)
Signed-off-by: Mike Mulchrone <mikemulchrone987@gmail.com> Co-authored-by: Satya Rohith <me@satyarohith.com>
This commit is contained in:
parent
8c9d1ba1d7
commit
dc5c799c39
1 changed files with 1 additions and 1 deletions
|
@ -1355,7 +1355,7 @@ impl CliOptions {
|
||||||
} else if self.maybe_package_json.is_some() {
|
} else if self.maybe_package_json.is_some() {
|
||||||
Ok(Default::default())
|
Ok(Default::default())
|
||||||
} else {
|
} 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"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue