From fef99a102e1f9f3d339e586c1e8dbb7a20883437 Mon Sep 17 00:00:00 2001 From: BeniBenj Date: Tue, 10 Dec 2024 12:09:12 +0100 Subject: [PATCH 1/3] fix #1074 --- src/package.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/package.ts b/src/package.ts index d27b71ca..3cdf61f5 100644 --- a/src/package.ts +++ b/src/package.ts @@ -2072,7 +2072,7 @@ export async function printAndValidatePackagedFiles(files: IFile[], cwd: string, // Print the files included in the package const printableFileStructure = await util.generateFileStructureTree( - getDefaultPackageName(manifest, options), + options.packagePath ? path.basename(options.packagePath) : getDefaultPackageName(manifest, options), files.map(f => ({ // File path relative to the extension root origin: !isInMemoryFile(f) ? f.localPath : util.vsixPathToFilePath(f.path), From 5958b703c079d8679345bb4e47192fb2c01a3730 Mon Sep 17 00:00:00 2001 From: BeniBenj Date: Tue, 10 Dec 2024 12:10:47 +0100 Subject: [PATCH 2/3] :lipstick: --- src/package.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/package.ts b/src/package.ts index 3cdf61f5..22578a7e 100644 --- a/src/package.ts +++ b/src/package.ts @@ -2072,7 +2072,7 @@ export async function printAndValidatePackagedFiles(files: IFile[], cwd: string, // Print the files included in the package const printableFileStructure = await util.generateFileStructureTree( - options.packagePath ? path.basename(options.packagePath) : getDefaultPackageName(manifest, options), + await getPackagePath(cwd, manifest, options), files.map(f => ({ // File path relative to the extension root origin: !isInMemoryFile(f) ? f.localPath : util.vsixPathToFilePath(f.path), From c5969efc8fe47c8fe2056a7abb511493b84754eb Mon Sep 17 00:00:00 2001 From: BeniBenj Date: Tue, 10 Dec 2024 12:11:16 +0100 Subject: [PATCH 3/3] :lipstick: --- src/package.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/package.ts b/src/package.ts index 22578a7e..648db2e7 100644 --- a/src/package.ts +++ b/src/package.ts @@ -2072,7 +2072,7 @@ export async function printAndValidatePackagedFiles(files: IFile[], cwd: string, // Print the files included in the package const printableFileStructure = await util.generateFileStructureTree( - await getPackagePath(cwd, manifest, options), + path.basename(await getPackagePath(cwd, manifest, options)), files.map(f => ({ // File path relative to the extension root origin: !isInMemoryFile(f) ? f.localPath : util.vsixPathToFilePath(f.path),