diff --git a/hyphenopoly.module.js b/hyphenopoly.module.js index eb71f327..835c1fbd 100644 --- a/hyphenopoly.module.js +++ b/hyphenopoly.module.js @@ -123,8 +123,12 @@ H.supportedLanguages = [ function readFile(file, cb, sync) { if (typeof H.c.loader === "function") { H.c.loader(file).then( - (res) => { cb(null, res); }, - (err) => { cb(err); } + (res) => { + cb(null, res); + }, + (err) => { + cb(err); + } ); } else if (H.c.loader === "fs") { /* eslint-disable security/detect-non-literal-fs-filename */