Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

Commit 139f3e0

Browse files
author
Maximilian Heinz
committed
add expected parameter this.resource to exec
1 parent ff597ee commit 139f3e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = function(input) {
1313
const callback = this.async();
1414
// mock async step 2 - offer css loader a "fake" callback
1515
this.async = () => (err, content) => {
16-
const cssmodules = this.exec(content);
16+
const cssmodules = this.exec(content, this.resource);
1717
const requestedResource = this.resourcePath;
1818

1919
const cssModuleInterfaceFilename = filenameToTypingsFilename(requestedResource);

0 commit comments

Comments
 (0)