1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-16 19:46:19 +02:00

utils: typo

This commit is contained in:
Kushagra Gour
2018-11-16 23:59:49 +05:30
parent d8c6eb85b3
commit 5541bf1d31

View File

@@ -465,7 +465,7 @@ export function prettify(content, type = 'js') {
const worker = new Worker(
chrome.extension
? chrome.extension.getURL('lib/prettier-worker.js')
: `${BASE_PATH === '/' ? '' : BASEPATH}/lib/prettier-worker.js`
: `${BASE_PATH === '/' ? '' : BASE_PATH}/lib/prettier-worker.js`
);
worker.postMessage({ content, type });
worker.addEventListener('message', e => {