Skip to content

Commit 474b1cc

Browse files
authored
Merge pull request #260 from jucrouzet/node0-fix
Object.assign n/a in node 0.x
2 parents 2461072 + f38e4ff commit 474b1cc

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
sudo: false
22

33
language: node_js
4-
node_js: stable
4+
node_js:
5+
- stable
6+
- 6
7+
- 5
8+
- 4
9+
- 0.12
10+

lib/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ function isUpToDate (url, requestOpts, hash, cb) {
419419
return cb(null, false);
420420
}
421421

422-
var query = Object.assign({}, requestOpts, {
422+
var query = merge({}, requestOpts, {
423423
url: url,
424424
headers: {
425425
'If-None-Match': '"' + hash + '"'

0 commit comments

Comments
 (0)