mirror of
https://github.com/LeeGaoGao/ECC.git
synced 2026-07-22 02:33:06 +00:00
Fix preview pack smoke lint
This commit is contained in:
@@ -158,10 +158,6 @@ function safeParseJson(text) {
|
||||
}
|
||||
}
|
||||
|
||||
function includesAll(text, needles) {
|
||||
return needles.every(needle => text.includes(needle));
|
||||
}
|
||||
|
||||
function lineNumberForIndex(text, index) {
|
||||
return text.slice(0, index).split('\n').length;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user