From f64bcf9c1a31de183878d65feb9a918646b221ca Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Wed, 7 Aug 2024 10:03:58 -0400 Subject: [PATCH] Fix `vsce` file path --- .github/workflows/bump-version.mjs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/bump-version.mjs b/.github/workflows/bump-version.mjs index aecebdfb..233cca4a 100644 --- a/.github/workflows/bump-version.mjs +++ b/.github/workflows/bump-version.mjs @@ -10,7 +10,7 @@ const __dirname = fileURLToPath(new URL('.', import.meta.url)) // Let `vsce` get the metadata for the extension // Querying the marketplace API directly is not supported or recommended let result = spawnSync( - path.resolve(__dirname, '../../node_modules/.bin/vsce'), + path.resolve(__dirname, '../../packages/vscode-tailwindcss/node_modules/.bin/vsce'), ['show', 'bradlc.vscode-tailwindcss', '--json'], { encoding: 'utf8' }, ) @@ -18,8 +18,6 @@ let result = spawnSync( let metadata = JSON.parse(result.stdout) if (!metadata) { - console.error(result.stdout) - console.error(result.stderr) console.error(result.error) throw new Error('Failed to get extension metadata') }