Update to TS 5.1.3 (#387)
This commit is contained in:
Родитель
e22b99cbec
Коммит
1d5c8610a5
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
12
package.json
12
package.json
|
@ -210,18 +210,18 @@
|
|||
"all": "npm i && npm run lint && npm test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/eslint-config-azuretools": "^0.1.0",
|
||||
"@microsoft/eslint-config-azuretools": "^0.2.1",
|
||||
"@microsoft/vscode-azext-dev": "^2.0.0",
|
||||
"@types/fs-extra": "^8.1.1",
|
||||
"@types/gulp": "^4.0.8",
|
||||
"@types/mocha": "^8.2.2",
|
||||
"@types/node": "^14.0.0",
|
||||
"@types/node": "^16.18.36",
|
||||
"@types/vscode": "1.78.0",
|
||||
"@types/which": "^1.3.2",
|
||||
"@typescript-eslint/eslint-plugin": "^4.28.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.11",
|
||||
"@vscode/test-electron": "^2.1.5",
|
||||
"eslint": "^7.19.0",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint": "^8.42.0",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"glob": "^7.1.6",
|
||||
"gulp": "^4.0.2",
|
||||
"husky": "^7.0.2",
|
||||
|
@ -229,7 +229,7 @@
|
|||
"mocha-junit-reporter": "^2.0.0",
|
||||
"mocha-multi-reporters": "^1.5.1",
|
||||
"ts-node": "^7.0.1",
|
||||
"typescript": "^4.3.5",
|
||||
"typescript": "^5.1.3",
|
||||
"vsce": "^2.13.0",
|
||||
"webpack": "^5.76.0",
|
||||
"webpack-cli": "^4.6.0"
|
||||
|
|
|
@ -20,7 +20,7 @@ export async function getResourcesAssociatedToVm(context: IActionContext, node:
|
|||
|
||||
const networkReferences: { name: string; rgName: string }[] = [];
|
||||
if (node.data.networkProfile?.networkInterfaces) {
|
||||
for (const networkRef of node.data.networkProfile?.networkInterfaces) {
|
||||
for (const networkRef of node.data.networkProfile.networkInterfaces) {
|
||||
if (networkRef.id) {
|
||||
networkReferences.push({ name: getNameFromId(networkRef.id), rgName: getResourceGroupFromId(networkRef.id) });
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче