mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-05-15 04:01:08 +00:00
use eslint auto fix
This commit is contained in:
@@ -90,7 +90,7 @@ function startLocationOfEachWord(text: string): number[] {
|
||||
}
|
||||
|
||||
function isWhiteSpaceChar(char: string | undefined): boolean {
|
||||
return char !== undefined && char.match(/\s/) !== null;
|
||||
return char !== undefined && (/\s/.exec(char)) !== null;
|
||||
}
|
||||
|
||||
export default RemoveOverlap;
|
||||
|
||||
Reference in New Issue
Block a user