fix(core): update
This commit is contained in:
parent
30ba17a8d4
commit
147a792c4c
@ -31,3 +31,7 @@ export const isBinary = (pathArg: string) => {
|
||||
}
|
||||
return isBinary;
|
||||
}
|
||||
|
||||
export const getEncoding = (pathArg: string) => {
|
||||
return isBinary(pathArg) ? 'binary' : 'utf8';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user