mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
feat(unstable): remove --unstable-workspaces flag (#21891)
The workspaces feature is still considered unstable and can change. Requiring this flag hinders DX.
This commit is contained in:
parent
fc17ddbcc4
commit
a918804ee0
4 changed files with 5 additions and 23 deletions
|
@ -707,14 +707,6 @@ impl CliOptions {
|
|||
None
|
||||
};
|
||||
|
||||
// TODO(bartlomieju): remove in v1.39 or v1.40.
|
||||
if let Some(wsconfig) = &maybe_workspace_config {
|
||||
if !wsconfig.members.is_empty() && !flags.unstable_workspaces {
|
||||
eprintln!("Use of unstable 'workspaces' feature. The --unstable-workspaces flags must be provided.");
|
||||
std::process::exit(70);
|
||||
}
|
||||
}
|
||||
|
||||
if let Some(env_file_name) = &flags.env_file {
|
||||
if (from_filename(env_file_name)).is_err() {
|
||||
bail!("Unable to load '{env_file_name}' environment variable file")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue