From 5541bf1d31363e7e874ba706b9b0b761156ce0e2 Mon Sep 17 00:00:00 2001 From: Kushagra Gour Date: Fri, 16 Nov 2018 23:59:49 +0530 Subject: [PATCH] utils: typo --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index da35458..ba6c662 100644 --- a/src/utils.js +++ b/src/utils.js @@ -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 => {