diff options
Diffstat (limited to 'crates/shirabe/src/command/diagnose_command.rs')
| -rw-r--r-- | crates/shirabe/src/command/diagnose_command.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crates/shirabe/src/command/diagnose_command.rs b/crates/shirabe/src/command/diagnose_command.rs index 3f69722a..2d00ca21 100644 --- a/crates/shirabe/src/command/diagnose_command.rs +++ b/crates/shirabe/src/command/diagnose_command.rs @@ -974,7 +974,12 @@ impl DiagnoseCommand { None, )?; if !installed_json.exists() { - return Ok(PhpMixed::String("<warning>Could not find Composer's installed.json, this must be a non-standard Composer installation.</>".to_string())); + // TODO(phase-c): the native binary never ships vendor/composer/installed.json, so + // Composer's "non-standard Composer installation" warning would fire on every run. + // A Composer source snapshot is planned to be embedded together with the plugin API + // implementation, which will make this self-audit functional; until then report + // success instead of the warning. + return Ok(PhpMixed::Bool(true)); } let local_repo = FilesystemRepository::new(installed_json, false, None, None)?; |
