@bunli/test 0.3.3 → 0.3.5
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/index.js +7 -6
- package/dist/index.js.map +4 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -15987,6 +15987,9 @@ var SchemaError = class extends Error {
|
|
|
15987
15987
|
}
|
|
15988
15988
|
};
|
|
15989
15989
|
|
|
15990
|
+
// ../core/src/cli.ts
|
|
15991
|
+
init_dist();
|
|
15992
|
+
|
|
15990
15993
|
// ../core/src/plugin/manager.ts
|
|
15991
15994
|
import { homedir } from "os";
|
|
15992
15995
|
import { join as join2 } from "path";
|
|
@@ -16236,7 +16239,7 @@ class PluginManager {
|
|
|
16236
16239
|
return this.plugins;
|
|
16237
16240
|
}
|
|
16238
16241
|
getPlugin(name2) {
|
|
16239
|
-
return this.plugins.find((
|
|
16242
|
+
return this.plugins.find((p2) => p2.name === name2);
|
|
16240
16243
|
}
|
|
16241
16244
|
}
|
|
16242
16245
|
|
|
@@ -16775,8 +16778,7 @@ Subcommands:`);
|
|
|
16775
16778
|
await pluginManager.runAfterCommand(context, { exitCode: 0 });
|
|
16776
16779
|
}
|
|
16777
16780
|
} catch (error48) {
|
|
16778
|
-
|
|
16779
|
-
if (error48 instanceof PromptCancelledError2) {
|
|
16781
|
+
if (error48 instanceof PromptCancelledError) {
|
|
16780
16782
|
if (mergedConfig.plugins && mergedConfig.plugins.length > 0 && context) {
|
|
16781
16783
|
await pluginManager.runAfterCommand(context, { exitCode: 0 });
|
|
16782
16784
|
}
|
|
@@ -16918,8 +16920,7 @@ Subcommands:`);
|
|
|
16918
16920
|
...context ? { context } : {}
|
|
16919
16921
|
});
|
|
16920
16922
|
} catch (error48) {
|
|
16921
|
-
|
|
16922
|
-
if (error48 instanceof PromptCancelledError2) {
|
|
16923
|
+
if (error48 instanceof PromptCancelledError) {
|
|
16923
16924
|
if (mergedConfig.plugins && mergedConfig.plugins.length > 0 && context) {
|
|
16924
16925
|
await pluginManager.runAfterCommand(context, { exitCode: 0 });
|
|
16925
16926
|
}
|
|
@@ -17415,4 +17416,4 @@ export {
|
|
|
17415
17416
|
createMatchers
|
|
17416
17417
|
};
|
|
17417
17418
|
|
|
17418
|
-
//# debugId=
|
|
17419
|
+
//# debugId=F69EF5EE8D7E2E8064756E2164756E21
|