This commit is contained in:
Heath Stewart 2020-04-04 11:50:17 -07:00
parent f486e795bf
commit f6890ff843
2 changed files with 4 additions and 4 deletions

2
dist/index.js vendored
View File

@ -1915,7 +1915,7 @@ if (VS_VERSION === 'latest') {
VSWHERE_EXEC += '-latest ';
}
else {
VSWHERE_EXEC += `-version ${VS_VERSION} `;
VSWHERE_EXEC += `-version "${VS_VERSION}" `;
}
core.debug(`Execution arguments: ${VSWHERE_EXEC}`);
function run() {

View File

@ -20,7 +20,7 @@ let VSWHERE_EXEC =
if (VS_VERSION === 'latest') {
VSWHERE_EXEC += '-latest '
} else {
VSWHERE_EXEC += `-version ${VS_VERSION} `
VSWHERE_EXEC += `-version "${VS_VERSION}" `
}
core.debug(`Execution arguments: ${VSWHERE_EXEC}`)