@mingxy/ocosay 1.1.29 → 1.1.30
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.
|
@@ -20,7 +20,8 @@ export declare function execCapture(cmd: string, cwd?: string): {
|
|
|
20
20
|
stderr: string;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* 从已有的错误输出中检测缺失依赖
|
|
24
|
+
* @param errorOutput 已捕获的错误输出字符串
|
|
24
25
|
*/
|
|
25
|
-
export declare function detectMissingDependencies(
|
|
26
|
+
export declare function detectMissingDependencies(errorOutput: string): DetectResult;
|
|
26
27
|
//# sourceMappingURL=dependency-detector.d.ts.map
|
|
@@ -39,14 +39,14 @@ export function execCapture(cmd, cwd) {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* 从已有的错误输出中检测缺失依赖
|
|
43
|
+
* @param errorOutput 已捕获的错误输出字符串
|
|
43
44
|
*/
|
|
44
|
-
export function detectMissingDependencies(
|
|
45
|
-
const
|
|
46
|
-
const missingHeaders = parseMissingHeaders(result.stderr);
|
|
45
|
+
export function detectMissingDependencies(errorOutput) {
|
|
46
|
+
const missingHeaders = parseMissingHeaders(errorOutput);
|
|
47
47
|
return {
|
|
48
48
|
missingHeaders,
|
|
49
|
-
rawOutput:
|
|
49
|
+
rawOutput: errorOutput,
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
//# sourceMappingURL=dependency-detector.js.map
|
package/dist/package.json
CHANGED
package/dist/plugin.js
CHANGED
|
@@ -9933,12 +9933,11 @@ function execCapture(cmd, cwd) {
|
|
|
9933
9933
|
};
|
|
9934
9934
|
}
|
|
9935
9935
|
}
|
|
9936
|
-
function detectMissingDependencies(
|
|
9937
|
-
const
|
|
9938
|
-
const missingHeaders = parseMissingHeaders(result.stderr);
|
|
9936
|
+
function detectMissingDependencies(errorOutput) {
|
|
9937
|
+
const missingHeaders = parseMissingHeaders(errorOutput);
|
|
9939
9938
|
return {
|
|
9940
9939
|
missingHeaders,
|
|
9941
|
-
rawOutput:
|
|
9940
|
+
rawOutput: errorOutput
|
|
9942
9941
|
};
|
|
9943
9942
|
}
|
|
9944
9943
|
|