Skip to content

Commit

Permalink
dependents#65 - Update module-definition dependency.
Browse files Browse the repository at this point in the history
Tests passing.
  • Loading branch information
dazinator committed Mar 18, 2019
1 parent 259b6f9 commit 9445a42
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ module.exports._getJSType = function(options = {}) {
debug('using the filename to find the module type');
// options.fileSystem will be supported after `module-definition` depedendency has this PR merged and is then consumed in package.json:
// https://github.com/dependents/module-definition/pull/28
return getModuleType.sync(options.filename, options.fileSystem);
return getModuleType.sync(options.filename, options);
};

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"debug": "^4.1.1",
"enhanced-resolve": "^4.1.0",
"is-relative-path": "^1.0.2",
"module-definition": "^3.0.0",
"module-definition": "^3.2.0",
"module-lookup-amd": "^6.1.0",
"resolve": "^1.10.0",
"resolve-dependency-path": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ describe('filing-cabinet', function() {
//directory
assert.equal(
result,
path.join(path.resolve('app'), 'foo.ts')
path.join(path.resolve('commonjs'), 'bar.js')
);
});

Expand Down

0 comments on commit 9445a42

Please sign in to comment.