mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-22 19:41:08 +07:00
Format code
This commit is contained in:
parent
2c3efd1f04
commit
33fad1d142
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user