Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mnater committed Oct 16, 2022
1 parent 9997d85 commit faf1096
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions hyphenopoly.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit faf1096

Please sign in to comment.