Passing correct encoding string to Buffer.from().

This commit is contained in:
Matt Swensen 2017-02-13 19:53:52 -07:00
parent 5e17523c27
commit ef40203e2f

@ -32,6 +32,6 @@ export const render = (colors) => {
});
};
`;
return Promise.resolve({ name: `themer-hyper-${colorSet.name}.js`, contents: Buffer.from(plugin, 'utf-8') });
return Promise.resolve({ name: `themer-hyper-${colorSet.name}.js`, contents: Buffer.from(plugin, 'utf8') });
});
};