Skip to content

Commit 8e0a233

Browse files
committed
Add encoding to fs.readFileSync when loading polyfills #26
1 parent f778e76 commit 8e0a233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extendscriptr.options.forEach(function(opt) {
2424
);
2525
});
2626

27-
var prototypePolyfills = fs.readFileSync('./node_modules/extendscript.prototypes/lib/extendscript.prototypes.js');
27+
var prototypePolyfills = fs.readFileSync('./node_modules/extendscript.prototypes/lib/extendscript.prototypes.js', 'utf8');
2828
var browserifyPlugins = [ [ prependify, prototypePolyfills ] ];
2929

3030
var adobeTarget = String(extendscriptr.target).toLowerCase();

0 commit comments

Comments
 (0)