@ancleto/spec 0.6.18 → 0.6.19
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 +1 -1
- package/src/cli/index.js +1 -1
package/package.json
CHANGED
package/src/cli/index.js
CHANGED
|
@@ -722,6 +722,7 @@ async function runRepomix(flags, tmpFile) {
|
|
|
722
722
|
|
|
723
723
|
async function packDiscovery(flags) {
|
|
724
724
|
const { outputDir } = await loadDiscoveryConfig()
|
|
725
|
+
try { writeDiscoveryMap(process.cwd()) } catch {}
|
|
725
726
|
const tmpFile = join(tmpdir(), `ancleto-pack-${Date.now()}.txt`)
|
|
726
727
|
await runRepomix(flags, tmpFile)
|
|
727
728
|
let content = ''
|
|
@@ -749,7 +750,6 @@ async function packDiscovery(flags) {
|
|
|
749
750
|
}
|
|
750
751
|
|
|
751
752
|
async function discovery(flags) {
|
|
752
|
-
try { writeDiscoveryMap(process.cwd()) } catch {}
|
|
753
753
|
if (flags.includes('--check')) {
|
|
754
754
|
await checkDiscovery()
|
|
755
755
|
return
|