Skip to content

Commit

Permalink
fix: resolve manifest in CI (#2933)
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored May 21, 2024
1 parent 6416d1b commit 7d30112
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ z.object({})
3 3 │ <div class={`px-2 foo p-4 bar ${variable}`}/>
4 4 │ </>
```
- [noUndeclaredDependencies](https://biomejs.dev/linter/rules/no-undeclared-dependencies/) is correctly triggered when running `biome ci`. Contributed by @ematipico
### Parser

#### Enhancements
Expand Down
3 changes: 2 additions & 1 deletion crates/biome_cli/src/commands/ci.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::changed::get_changed_files;
use crate::cli_options::CliOptions;
use crate::commands::validate_configuration_diagnostics;
use crate::commands::{resolve_manifest, validate_configuration_diagnostics};
use crate::{execute_mode, setup_cli_subscriber, CliDiagnostic, CliSession, Execution};
use biome_configuration::{organize_imports::PartialOrganizeImports, PartialConfiguration};
use biome_configuration::{PartialFormatterConfiguration, PartialLinterConfiguration};
Expand Down Expand Up @@ -44,6 +44,7 @@ pub(crate) fn ci(session: CliSession, payload: CiCommandPayload) -> Result<(), C
session.app.console,
cli_options.verbose,
)?;
resolve_manifest(&session)?;

let LoadedConfiguration {
configuration: mut fs_configuration,
Expand Down

0 comments on commit 7d30112

Please sign in to comment.