mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-05-18 21:31:15 +08:00
Fix preview pack smoke lint
This commit is contained in:
parent
fd7c7cf47f
commit
822ed726a8
@ -158,10 +158,6 @@ function safeParseJson(text) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function includesAll(text, needles) {
|
|
||||||
return needles.every(needle => text.includes(needle));
|
|
||||||
}
|
|
||||||
|
|
||||||
function lineNumberForIndex(text, index) {
|
function lineNumberForIndex(text, index) {
|
||||||
return text.slice(0, index).split('\n').length;
|
return text.slice(0, index).split('\n').length;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user