diff --git a/src/node/eejs/index.js b/src/node/eejs/index.js index cb68c3d40..c84b3c6dc 100644 --- a/src/node/eejs/index.js +++ b/src/node/eejs/index.js @@ -100,14 +100,7 @@ exports.require = (name, args, mod) => { paths = mod.paths; } - const ejspath = resolve.sync( - name, - { - paths, - basedir, - extensions: ['.html', '.ejs'], - } - ); + const ejspath = resolve.sync(name, {paths, basedir, extensions: ['.html', '.ejs']}); args.e = exports; args.require = require;