@lppx/nlearn 1.1.9 → 1.1.10
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/src/cli/cli.js +3 -3
- package/package.json +1 -1
package/dist/src/cli/cli.js
CHANGED
|
@@ -129,7 +129,7 @@ async function selectFunctionWithFuzzySearch(functions) {
|
|
|
129
129
|
async function executeDemoFunction(demoFunc) {
|
|
130
130
|
try {
|
|
131
131
|
console.log(`\n正在运行: ${demoFunc.displayName}\n`);
|
|
132
|
-
console.log('='.repeat(50));
|
|
132
|
+
// console.log('='.repeat(50));
|
|
133
133
|
// 构建模块路径(相对于 cli.ts 所在目录)
|
|
134
134
|
const modulePath = (0, node_path_1.join)(__dirname, '..', 'demo', demoFunc.folder, `${demoFunc.file}.js`);
|
|
135
135
|
// 动态导入模块
|
|
@@ -141,8 +141,8 @@ async function executeDemoFunction(demoFunc) {
|
|
|
141
141
|
}
|
|
142
142
|
// 执行函数
|
|
143
143
|
await module[demoFunc.functionName]();
|
|
144
|
-
console.log('\n' + '='.repeat(50));
|
|
145
|
-
console.log('✓
|
|
144
|
+
console.log('\n' + '='.repeat(50) + '用户选择的函数执行结束' + '='.repeat(50));
|
|
145
|
+
// console.log('✓ \n');
|
|
146
146
|
}
|
|
147
147
|
catch (error) {
|
|
148
148
|
console.error('\n执行函数时出错:', error);
|