Skip to content

Commit

Permalink
Fix vsce file path
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Aug 7, 2024
1 parent 562847f commit f64bcf9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/bump-version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ 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' },
)

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')
}
Expand Down

0 comments on commit f64bcf9

Please sign in to comment.