mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Fix variable name
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ function getNextBetaVersion(packageJson) {
|
||||
function getPublishedVersions(packageJson, version, tag) {
|
||||
const versionsProcess = cp.spawnSync('npm', ['view', packageJson.name, 'versions', '--json']);
|
||||
const versionsJson = JSON.parse(versionsProcess.stdout);
|
||||
if (!versions || versions.length === 0) {
|
||||
if (!versionsJson || versionsJson.length === 0) {
|
||||
return [];
|
||||
}
|
||||
if (tag) {
|
||||
|
||||
Reference in New Issue
Block a user