@bitbonsai/mcpvault 0.18.2 → 0.18.3
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/src/filesystem.js +1 -1
- package/package.json +1 -1
package/dist/src/filesystem.js
CHANGED
|
@@ -896,7 +896,7 @@ export class FileSystemService {
|
|
|
896
896
|
// Quick check for frontmatter without reading full content
|
|
897
897
|
const file = await readFile(fullPath, 'utf-8');
|
|
898
898
|
const firstChunk = file.slice(0, 100);
|
|
899
|
-
const hasFrontmatter = firstChunk
|
|
899
|
+
const hasFrontmatter = /^---\r?\n/.test(firstChunk);
|
|
900
900
|
return {
|
|
901
901
|
path,
|
|
902
902
|
size,
|
package/package.json
CHANGED