1
0
Fork 0
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:
Mike Mulchrone 2024-05-28 09:33:08 -04:00 committed by GitHub
parent 8c9d1ba1d7
commit dc5c799c39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"))
} }
} }