Skip to content

Commit 0aa1c50

Browse files
author
James Halliday
committed
formatting
1 parent 2610c1c commit 0aa1c50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@ function resolve(id, opts, cb) {
237237
return cb(err);
238238
}
239239

240-
var resid = path.resolve(opts.basedir || path.dirname(opts.filename), id)
240+
var resid = path.resolve(opts.basedir || path.dirname(opts.filename), id);
241241
if (shims[id] || shims[resid]) {
242-
var xid = shims[id] ? id : resid
242+
var xid = shims[id] ? id : resid;
243243
// if the shim was is an absolute path, it was fully resolved
244244
if (shims[xid][0] === '/') {
245245
return resv(shims[xid], build_resolve_opts(opts, base), function(err, full, pkg) {

0 commit comments

Comments
 (0)