testdriverai 4.0.37 → 4.0.38
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/index.js +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -469,7 +469,9 @@ const generate = async (type) => {
|
|
|
469
469
|
if (!fs.existsSync(path.join(process.cwd(), 'testdriver', 'generate'))) {
|
|
470
470
|
fs.mkdirSync(path.join(process.cwd(), 'testdriver', 'generate'));
|
|
471
471
|
}
|
|
472
|
-
let
|
|
472
|
+
let list = testPrompt.listsOrdered[0];
|
|
473
|
+
list.append('/save');
|
|
474
|
+
let contents = list.map((item, index) => `${index + 1}. /explore ${item}`).join('\n');
|
|
473
475
|
fs.writeFileSync(path1, contents);
|
|
474
476
|
}
|
|
475
477
|
}
|