eejs: Unwrap unnecessarily wrapped line

This commit is contained in:
Richard Hansen 2021-01-19 18:49:45 -05:00 committed by John McLear
parent 1d6319b852
commit 5987f75b0d

View file

@ -100,14 +100,7 @@ exports.require = (name, args, mod) => {
paths = mod.paths; paths = mod.paths;
} }
const ejspath = resolve.sync( const ejspath = resolve.sync(name, {paths, basedir, extensions: ['.html', '.ejs']});
name,
{
paths,
basedir,
extensions: ['.html', '.ejs'],
}
);
args.e = exports; args.e = exports;
args.require = require; args.require = require;