@uipath/case-tool 1.198.1 → 1.199.0-preview.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/packager-tool.js +6 -4
- package/dist/tool.js +170877 -112073
- package/package.json +2 -2
package/dist/packager-tool.js
CHANGED
|
@@ -1583,10 +1583,12 @@ class ToolResult {
|
|
|
1583
1583
|
message;
|
|
1584
1584
|
packages;
|
|
1585
1585
|
details;
|
|
1586
|
-
|
|
1586
|
+
instructions;
|
|
1587
|
+
constructor(errorCode, message, packages = [], instructions) {
|
|
1587
1588
|
this.errorCode = errorCode;
|
|
1588
1589
|
this.message = message;
|
|
1589
1590
|
this.packages = packages;
|
|
1591
|
+
this.instructions = instructions;
|
|
1590
1592
|
}
|
|
1591
1593
|
get isSuccess() {
|
|
1592
1594
|
return this.errorCode === "SUCCESS";
|
|
@@ -1594,8 +1596,8 @@ class ToolResult {
|
|
|
1594
1596
|
static success() {
|
|
1595
1597
|
return new ToolResult("SUCCESS");
|
|
1596
1598
|
}
|
|
1597
|
-
static error(errorCode, message) {
|
|
1598
|
-
return new ToolResult(errorCode, message);
|
|
1599
|
+
static error(errorCode, message, instructions) {
|
|
1600
|
+
return new ToolResult(errorCode, message, [], instructions);
|
|
1599
1601
|
}
|
|
1600
1602
|
}
|
|
1601
1603
|
var OPERATE_FILE = "operate.json";
|
|
@@ -2932,4 +2934,4 @@ var toolsFactoryRepository2 = _global2[REGISTRY_KEY2];
|
|
|
2932
2934
|
// src/packager-tool.ts
|
|
2933
2935
|
toolsFactoryRepository2.registerProjectToolFactory(new CaseToolFactory);
|
|
2934
2936
|
|
|
2935
|
-
//# debugId=
|
|
2937
|
+
//# debugId=2FFA0BF3209E70A864756E2164756E21
|