momo-ai 1.0.89 → 1.0.90
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/package.json
CHANGED
|
@@ -187,8 +187,8 @@ const _selectReplacementSlot = async (slots, taskSlots) => {
|
|
|
187
187
|
require('colors');
|
|
188
188
|
const { selectSingle } = require('../utils/momo-menu');
|
|
189
189
|
const menuItems = slots.map((item) => ({
|
|
190
|
-
name: item.name,
|
|
191
|
-
description: item.
|
|
190
|
+
name: item.name.replace(/\.md$/, ''),
|
|
191
|
+
description: item.title || '任务',
|
|
192
192
|
slot: item.slot
|
|
193
193
|
}));
|
|
194
194
|
return selectSingle(menuItems, `${taskSlots} 个槽位已满,请选择要转入历史的 task`);
|