oh-my-til 1.4.0 → 1.5.0
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 +2 -2
- package/manifest.json +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -38488,7 +38488,7 @@ function registerTools(server, storage, metadata, tilPath) {
|
|
|
38488
38488
|
const texts = await Promise.all(batch.map((f) => storage.readFile(f.path)));
|
|
38489
38489
|
for (let j = 0; j < batch.length; j++) {
|
|
38490
38490
|
const text = texts[j];
|
|
38491
|
-
if (text
|
|
38491
|
+
if (text != null && text.toLowerCase().includes(lowerTopic)) {
|
|
38492
38492
|
contentMatches.push(batch[j].path);
|
|
38493
38493
|
}
|
|
38494
38494
|
if (pathMatches.length + contentMatches.length >= 20)
|
|
@@ -39943,7 +39943,7 @@ function generateProfileHtml(config2, summaryCardsHtml, heatmapHtml, recentTilsH
|
|
|
39943
39943
|
// src/cli/index.ts
|
|
39944
39944
|
var path5 = __toESM(require("path"));
|
|
39945
39945
|
var fs4 = __toESM(require("fs"));
|
|
39946
|
-
var VERSION = true ? "1.
|
|
39946
|
+
var VERSION = true ? "1.5.0" : "0.0.0";
|
|
39947
39947
|
function printUsage() {
|
|
39948
39948
|
console.log(`oh-my-til v${VERSION}
|
|
39949
39949
|
|
package/manifest.json
CHANGED