Skip to content

Commit ae39479

Browse files
committed
wip
1 parent 07949db commit ae39479

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/bump-version.mjs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@ import { spawnSync } from 'child_process'
55

66
// Let `vsce` get the metadata for the extension
77
// 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')
8+
let result = spawnSync(
9+
'./node_modules/.bin/vsce',
10+
['show', 'bradlc.vscode-tailwindcss', '--json'],
11+
{ encoding: 'utf8' },
12+
)
1313

14-
let metadata = JSON.parse(stdout)
14+
let metadata = JSON.parse(result.stdout)
1515

1616
if (!metadata) {
17+
console.error(result.stdout)
18+
console.error(result.stderr)
1719
throw new Error('Failed to get extension metadata')
1820
}
1921

0 commit comments

Comments
 (0)