Skip to content

Commit

Permalink
Merge 671e9ab into 7b47765
Browse files Browse the repository at this point in the history
  • Loading branch information
haoxin committed Mar 18, 2015
2 parents 7b47765 + 671e9ab commit 2e6a73a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
language: node_js
node_js:
- "0.11"
- "0.12"
- "iojs"
script: "make test-travis"
after_script: "npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
test:
@NODE_ENV=test ./node_modules/.bin/mocha \
--require should \
--harmony-generators \
--harmony \
--reporter spec \
--bail

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = function staticCache(dir, options, files) {
}

options = options || {}
options.prefix = (options.prefix || '').replace(/\/$/, '') + '/'
options.prefix = (options.prefix || '').replace(/\/$/, '') + path.sep
files = files || options.files || Object.create(null)
dir = dir || options.dir || process.cwd()
var enableGzip = !!options.gzip
Expand Down

0 comments on commit 2e6a73a

Please sign in to comment.