Skip to content
This repository was archived by the owner on Dec 7, 2017. It is now read-only.

Commit 01bb3d3

Browse files
committed
v0.1.1
normalize slashes
1 parent f1852cd commit 01bb3d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ module.exports = function(dest, assets) {
3434
} else if (!file.endsWith(assetsOrig, '/')) {
3535
assets = file.removeTrailingSlash(assets);
3636
}
37-
return assets;
37+
return file.normalizeSlash(assets);
3838
};

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "calculate-assets",
33
"description": "Calculate the path to an 'assets' or 'public' directory from dest files. Determines whether or not the path should have a trailing slash making it safe to use in templates.",
4-
"version": "0.1.0",
4+
"version": "0.1.1",
55
"homepage": "https://github.com/jonschlinkert/calculate-assets",
66
"author": {
77
"name": "Jon Schlinkert",
@@ -31,7 +31,7 @@
3131
"node": ">=0.8"
3232
},
3333
"scripts": {
34-
"test": "mocha -R test"
34+
"test": "mocha -R spec"
3535
},
3636
"devDependencies": {
3737
"verb": "~0.2.0"

0 commit comments

Comments
 (0)