From cc8bc679a98843dd4d59a88b772d1b8a59d2ecf9 Mon Sep 17 00:00:00 2001 From: Anna Mager Date: Thu, 5 Sep 2024 15:25:35 +0200 Subject: [PATCH] fix: correct search path for mutagen faux ssh --- core/src/mutagen.ts | 2 +- core/src/util/ext-tools.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/mutagen.ts b/core/src/mutagen.ts index b11d07453b..884515bb71 100644 --- a/core/src/mutagen.ts +++ b/core/src/mutagen.ts @@ -1120,7 +1120,7 @@ export const mutagenFauxSshSpec: PluginToolSpec = { sha256: "c7645e615efc9e5139f8a281abb9acae61ea2ce2084ea25aa438438da3481167", extract: { format: "tar", - targetPath: "mutagen", + targetPath: "ssh", }, }, { diff --git a/core/src/util/ext-tools.ts b/core/src/util/ext-tools.ts index 26911ce5fe..896984c47f 100644 --- a/core/src/util/ext-tools.ts +++ b/core/src/util/ext-tools.ts @@ -321,7 +321,7 @@ export class PluginTool extends CliWrapper { if (this.buildSpec.extract && !(await pathExists(targetAbsPath))) { // if this happens, it's a bug! throw new InternalError({ - message: `Error while downloading ${this.name}: Archive ${this.buildSpec.url} does not contain a file or directory at ${this.targetSubpath}`, + message: `Error while downloading ${this.name}: Archive ${this.buildSpec.url} does not contain a file or directory at ${targetAbsPath}`, }) }