You've already forked setup-msbuild
mirror of
https://github.com/microsoft/setup-msbuild.git
synced 2025-09-01 02:14:10 +07:00
Changing test; fixing null check
This commit is contained in:
@ -33,7 +33,7 @@ async function run(): Promise<void> {
|
||||
let vswhereToolExe = ''
|
||||
let cachedToolDirectory = ''
|
||||
|
||||
if (!VSWHERE_PATH) {
|
||||
if (VSWHERE_PATH) {
|
||||
// specified a path for vswhere, use it and cache the location
|
||||
vswhereToolExe = path.join(VSWHERE_PATH, 'vswhere.exe')
|
||||
cachedToolDirectory = await toolCache.cacheDir(
|
||||
|
Reference in New Issue
Block a user