Socket
Socket
Sign inDemoInstall

@microsoft/vscode-azext-utils

Package Overview
Dependencies
9
Maintainers
12
Versions
80
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.2 to 2.1.3

18

out/src/activityLog/activities/ExecuteActivity.js

@@ -9,2 +9,3 @@ "use strict";

const vscode = require("vscode");
const constants_1 = require("../../constants");
const GenericTreeItem_1 = require("../../tree/GenericTreeItem");

@@ -46,12 +47,15 @@ const Activity_1 = require("../Activity");

getChildren: (parent) => {
const errorItem = new GenericTreeItem_1.GenericTreeItem(parent, {
contextValue: 'executeError',
label: error.message
});
if (this.context.activityChildren) {
parent.compareChildrenImpl = () => 0; // Don't sort
return this.context.activityChildren;
errorItem.iconPath = constants_1.activityFailIcon;
return [
...this.context.activityChildren,
errorItem
];
}
return [
new GenericTreeItem_1.GenericTreeItem(parent, {
contextValue: 'executeError',
label: error.message
})
];
return [errorItem];
}

@@ -58,0 +62,0 @@ };

@@ -7,3 +7,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.AzExtQuickInputButtons = exports.showContextValueSetting = exports.azToolsPrefix = exports.learnMore = void 0;
exports.activityFailIcon = exports.AzExtQuickInputButtons = exports.showContextValueSetting = exports.azToolsPrefix = exports.learnMore = void 0;
const vscode_1 = require("vscode");

@@ -17,2 +17,3 @@ exports.learnMore = vscode_1.l10n.t("Learn more");

})(AzExtQuickInputButtons = exports.AzExtQuickInputButtons || (exports.AzExtQuickInputButtons = {}));
exports.activityFailIcon = new vscode_1.ThemeIcon('error', new vscode_1.ThemeColor('testing.iconFailed'));
//# sourceMappingURL=constants.js.map
{
"name": "@microsoft/vscode-azext-utils",
"author": "Microsoft Corporation",
"version": "2.1.2",
"version": "2.1.3",
"description": "Common UI tools for developing Azure extensions for VS Code",

@@ -6,0 +6,0 @@ "tags": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc