We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07949db commit ae39479Copy full SHA for ae39479
.github/workflows/bump-version.mjs
@@ -5,15 +5,17 @@ import { spawnSync } from 'child_process'
5
6
// Let `vsce` get the metadata for the extension
7
// Querying the marketplace API directly is not supported or recommended
8
-let stdout = spawnSync('node_modules/.bin/vsce', [
9
- 'show',
10
- 'bradlc.vscode-tailwindcss',
11
- '--json',
12
-]).stdout.toString('utf8')
+let result = spawnSync(
+ './node_modules/.bin/vsce',
+ ['show', 'bradlc.vscode-tailwindcss', '--json'],
+ { encoding: 'utf8' },
+)
13
14
-let metadata = JSON.parse(stdout)
+let metadata = JSON.parse(result.stdout)
15
16
if (!metadata) {
17
+ console.error(result.stdout)
18
+ console.error(result.stderr)
19
throw new Error('Failed to get extension metadata')
20
}
21
0 commit comments