stackmem 1.0.7 → 1.0.8
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/cli.js +1 -1
- package/package.json +1 -1
- package/src/cli.ts +1 -1
package/dist/cli.js
CHANGED
|
@@ -720,7 +720,7 @@ for (const line of isFirstCommit ? [] : lines) {
|
|
|
720
720
|
savedItems.push(\`discovery: \${content}\`);
|
|
721
721
|
}
|
|
722
722
|
|
|
723
|
-
if (
|
|
723
|
+
if (/^\\+\\s*(\\/\\/|#)\\s*(TODO:|FIXME:|HACK:|XXX:)/.test(line)) {
|
|
724
724
|
const truncated = codeLine.trim().slice(0, 100);
|
|
725
725
|
const content = \`open issue from commit: \${truncated}\`;
|
|
726
726
|
cmSave("discovery", content);
|
package/package.json
CHANGED
package/src/cli.ts
CHANGED
|
@@ -818,7 +818,7 @@ for (const line of isFirstCommit ? [] : lines) {
|
|
|
818
818
|
savedItems.push(\`discovery: \${content}\`);
|
|
819
819
|
}
|
|
820
820
|
|
|
821
|
-
if (
|
|
821
|
+
if (/^\\+\\s*(\\/\\/|#)\\s*(TODO:|FIXME:|HACK:|XXX:)/.test(line)) {
|
|
822
822
|
const truncated = codeLine.trim().slice(0, 100);
|
|
823
823
|
const content = \`open issue from commit: \${truncated}\`;
|
|
824
824
|
cmSave("discovery", content);
|