fix(core): update

This commit is contained in:
Philipp Kunz 2020-03-04 15:47:15 +00:00
parent 30ba17a8d4
commit 147a792c4c

View File

@ -31,3 +31,7 @@ export const isBinary = (pathArg: string) => {
} }
return isBinary; return isBinary;
} }
export const getEncoding = (pathArg: string) => {
return isBinary(pathArg) ? 'binary' : 'utf8';
}