Account for spaces between opening block and js

This commit is contained in:
atomiks
2017-12-28 15:23:02 +11:00
parent 57ad72514e
commit 7654022f01

View File

@ -12,7 +12,7 @@ const prettier = require('prettier');
const SNIPPETS_PATH = './snippets';
const TEMP_PATH = './temp';
const codeRE = /```js([\s\S]*?)```/g;
const codeRE = /```\s*js([\s\S]*?)```/g;
console.time('lint');