|
|
|
@ -49,7 +49,7 @@ export async function run() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function getVersionFromGlobalJson(globalJsonPath: string): string {
|
|
|
|
function getVersionFromGlobalJson(globalJsonPath: string): string {
|
|
|
|
const optionValues = ['latestFeature', 'latestPatch']
|
|
|
|
const optionValues = ['latestFeature', 'latestPatch'];
|
|
|
|
let version: string = '';
|
|
|
|
let version: string = '';
|
|
|
|
const globalJson = JSON.parse(
|
|
|
|
const globalJson = JSON.parse(
|
|
|
|
// .trim() is necessary to strip BOM https://github.com/nodejs/node/issues/20649
|
|
|
|
// .trim() is necessary to strip BOM https://github.com/nodejs/node/issues/20649
|
|
|
|
|