Skip to content

Commit

Permalink
fix: cache behaviour (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored and joshwiens committed Dec 22, 2017
1 parent a2c9722 commit 9791044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class CompressionPlugin {
.resolve()
.then(() => this.compress(content))
.then(
data => cacache.put(cacheDir, cacheKey, data.toString())
data => cacache.put(cacheDir, cacheKey, data)
.then(() => data),
),
);
Expand Down

0 comments on commit 9791044

Please sign in to comment.