diff --git a/src/native/NativeMacOSProvider.ts b/src/native/NativeMacOSProvider.ts index a0b499f197..cf8099b28c 100644 --- a/src/native/NativeMacOSProvider.ts +++ b/src/native/NativeMacOSProvider.ts @@ -820,7 +820,7 @@ const unreadablePlist = ( ): AnalysisError => { const sentence = reason.endsWith(".") ? reason : `${reason}.`; // Name the default that is missing and the selection that still works. - const missingDefault = `The target has no readable Contents/Info.plist at ${path}: ${sentence} Pass path to inspect another plist.`; + const missingDefault = `The target has no readable Contents/Info.plist at ${path}: ${sentence} Select another plist in the target with the path input (CLI: --relative-path).`; return requested === undefined ? new AnalysisCapabilityUnavailableError( IDENTITY.id, diff --git a/tests/boundary/cli/nativePlistSelectionFailureCli.test.ts b/tests/boundary/cli/nativePlistSelectionFailureCli.test.ts index 642f1011ea..e14ca4cc38 100644 --- a/tests/boundary/cli/nativePlistSelectionFailureCli.test.ts +++ b/tests/boundary/cli/nativePlistSelectionFailureCli.test.ts @@ -113,12 +113,10 @@ describe.skipIf(process.platform !== "darwin")( expect(result.exitCode).toBe(1); expect(result.json).toMatchObject({ code: "capability_unavailable", - message: expect.stringContaining( - "Pass path to inspect another plist", - ), + message: expect.stringContaining("(CLI: --relative-path)"), remediation: { action: expect.stringContaining( - "Pass path to inspect another plist", + "Select another plist in the target with the path input (CLI: --relative-path).", ), }, details: {