mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix typo in ImportScanner#_readFile (#10132)
This commit is contained in:
@@ -945,7 +945,7 @@ export default class ImportScanner {
|
||||
// translates it to FEFF, the UTF-16 BOM.
|
||||
if (info.dataString.charCodeAt(0) === 0xfeff) {
|
||||
info.dataString = info.dataString.slice(1);
|
||||
info.data = Buffer.from(into.dataString, "utf8");
|
||||
info.data = Buffer.from(info.dataString, "utf8");
|
||||
info.hash = sha1(info.data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user