Changing test; fixing null check

This commit is contained in:
Tim Heuer
2020-01-31 12:22:23 -08:00
parent 5817abf347
commit 3ef0817a4a
3 changed files with 3 additions and 3 deletions

View File

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