broccoli-asset-rev
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -104,3 +104,3 @@ var fs = require('fs'); | ||
var ext = path.extname(relativePath); | ||
var newPath = relativePath.replace(ext, '-' + hash + ext); | ||
var newPath = relativePath.replace(new RegExp(ext+'$'), '-' + hash + ext); | ||
this.assetMap[relativePath] = newPath; | ||
@@ -107,0 +107,0 @@ |
{ | ||
"name": "broccoli-asset-rev", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "broccoli asset revisions (fingerprint)", | ||
@@ -5,0 +5,0 @@ "main": "lib/asset-rev.js", |
@@ -108,3 +108,3 @@ var fs = require('fs'); | ||
it('accepts a string as exclude parameter', function () { | ||
it('accepts an array of strings as exclude parameter', function () { | ||
var sourcePath = 'tests/fixtures/exclude'; | ||
@@ -124,3 +124,3 @@ | ||
it("accepts a glob as exclude parameter", function() { | ||
it("accepts an array of globs as exclude parameter", function() { | ||
var sourcePath = 'tests/fixtures/exclude'; | ||
@@ -127,0 +127,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75363
118
794