Skip to content

Commit eae18ea

Browse files
committed
Test
1 parent cccbe22 commit eae18ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc_lib/src/discovery/command_discovery.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ pub fn load_manifest(path: &Path) -> Result<ImportedManifest, DscError> {
619619
let manifest = match serde_yaml::from_str::<ExtensionManifest>(&contents) {
620620
Ok(manifest) => manifest,
621621
Err(err) => {
622-
return Err(DscError::Manifest(t!("discovery.commandDiscovery.invalidManifest", resource = path.to_string_lossy()).to_string(), err));
622+
return Err(DscError::Validation(format!("Invalid manifest {} version value: {err}", path.display())));
623623
}
624624
};
625625
let extension = load_extension_manifest(path, &manifest)?;

0 commit comments

Comments
 (0)