Skip to content

Commit

Permalink
Restore compatibility with assetgraph > 4.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Jul 29, 2018
1 parent 070916d commit aa33dde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ async function hyperlink(
);
if (matchContentType && asset.expectedTypes) {
asset.contentType = matchContentType[1].toLowerCase();
asset._inferredType = undefined;
asset._tryUpgrade();
}
} else if (!contentType) {
Expand Down

0 comments on commit aa33dde

Please sign in to comment.