Skip to content

Commit 619ea47

Browse files
authored
update (#4452)
1 parent 0039c09 commit 619ea47

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@
13921392
"@azure/core-rest-pipeline": "^1.11.0",
13931393
"@azure/storage-blob": "^12.5.0",
13941394
"@microsoft/vscode-azext-azureappservice": "^3.5.4",
1395-
"@microsoft/vscode-azext-azureappsettings": "^0.2.6",
1395+
"@microsoft/vscode-azext-azureappsettings": "^0.2.7",
13961396
"@microsoft/vscode-azext-azureutils": "^3.1.7",
13971397
"@microsoft/vscode-azext-utils": "^2.6.3",
13981398
"@microsoft/vscode-azureresources-api": "^2.0.4",

src/commands/addMIConnections/ConnectionsListStep.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class ConnectionsListStep extends AzureWizardPromptStep<AddMIConnectionsC
7474

7575
function addPicks(settings: { [key: string]: string }, picks: IAzureQuickPickItem<Connection>[]): IAzureQuickPickItem<Connection>[] {
7676
for (const [key, value] of Object.entries(settings)) {
77-
if (!isSettingConnectionString(value)) {
77+
if (!isSettingConnectionString(key, value)) {
7878
continue;
7979
}
8080

src/commands/deploy/getWarningsForConnectionSettings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export async function getWarningsForConnectionSettings(context: IActionContext,
4545
}
4646

4747
function checkForConnectionSettings(property: { [propertyName: string]: string }): ConnectionSetting | undefined {
48-
if (isSettingConnectionString(property.value)) {
48+
if (isSettingConnectionString(property.key, property.value)) {
4949
// if the setting is convertible, we can assume it's a connection string
5050
return {
5151
name: property.propertyName,

src/tree/localProject/LocalProjectTreeItem.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ export class LocalProjectTreeItem extends LocalProjectTreeItemBase implements Di
138138
if (localSettingsPath) {
139139
const localSettings = await getLocalSettingsJson(context, localSettingsPath, false);
140140
if (localSettings.Values) {
141-
for (const value of Object.values(localSettings.Values)) {
142-
if (!isSettingConnectionString(value)) {
141+
for (const [key, value] of Object.entries(localSettings.Values)) {
142+
if (!isSettingConnectionString(key, value)) {
143143
continue;
144144
}
145145

0 commit comments

Comments
 (0)