Format code

This commit is contained in:
Vladimir Safonkin 2021-08-20 17:28:30 +03:00
parent 2c3efd1f04
commit 33fad1d142
1 changed files with 1 additions and 1 deletions

View File

@ -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