Skip to content

Commit 42e6734

Browse files
author
Nathan Turinski
committed
Fix build
1 parent c18707a commit 42e6734

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

src/commands/deploy/deploy.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ async function deploy(actionContext: IActionContext, arg1: vscode.Uri | string |
196196
Object.assign(context, await getStorageConnectionIfNeeded(Object.assign(context, subscriptionContext), appSettings, site, context.projectPath));
197197

198198
const deploymentWarningMessages: string[] = [];
199+
let eolWarningMessage: string | undefined;
199200

200201
// Skip all deployment warnings for newly created apps since the app was
201202
// just configured during creation and warnings would be noise
@@ -210,7 +211,7 @@ async function deploy(actionContext: IActionContext, arg1: vscode.Uri | string |
210211
deploymentWarningMessages.push(connectionStringWarningMessage);
211212
}
212213

213-
const eolWarningMessage = await getEolWarningMessages({ ...context, ...subscriptionContext }, {
214+
eolWarningMessage = await getEolWarningMessages({ ...context, ...subscriptionContext }, {
214215
site: site.rawSite,
215216
isLinux: client.isLinux,
216217
isFlex: isFlexConsumption,

test/nightly/createProjectAndDeploy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ interface CreateProjectAndDeployTestCase extends ICreateProjectAndDeployOptions
2424
title: string;
2525
buildMachineOsToSkip?: NodeJS.Platform | NodeJS.Platform[];
2626
}
27-
const confirmDeploy = 'Deploy';
27+
// const confirmDeploy = 'Deploy';
2828

2929
const testCases: CreateProjectAndDeployTestCase[] = [
3030
{ title: 'JavaScript', ...getJavaScriptValidateOptions(true, undefined, undefined, undefined, NodeModelVersion.v4), deployInputs: [getRotatingNodeVersion(), TestInput.UseDefaultValue /* auth type (Secrets) */], languageModelVersion: NodeModelVersion.v4 },

test/project/createNewPythonProject.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async function findPythonAlias(): Promise<string | undefined> {
7878
const aliases = process.platform === 'win32' ? ['py', 'python', 'python3'] : ['python3', 'python'];
7979
for (const alias of aliases) {
8080
try {
81-
await cpUtils.executeCommand(undefined, undefined, alias, '--version');
81+
await cpUtils.executeCommand(undefined, undefined, alias, ['--version']);
8282
return alias;
8383
} catch {
8484
// try next alias

test/venvUtils.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ async function findPythonAlias(): Promise<string | undefined> {
134134
const aliases = process.platform === 'win32' ? ['py', 'python', 'python3'] : ['python3', 'python'];
135135
for (const alias of aliases) {
136136
try {
137-
await cpUtils.executeCommand(undefined, undefined, alias, '--version');
137+
await cpUtils.executeCommand(undefined, undefined, alias, ['--version']);
138138
return alias;
139139
} catch {
140140
// try next alias

0 commit comments

Comments
 (0)