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:
Bartek Iwańczuk 2024-01-14 22:58:06 +01:00 committed by GitHub
parent fc17ddbcc4
commit a918804ee0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 23 deletions

View file

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