diff options
author | isaacs <i@izs.me> | 2010-04-25 02:13:33 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-04-25 02:13:33 +0400 |
commit | 3695c971daf2663d179a0197476adc94a871c702 (patch) | |
tree | 5b0e98ef0d700528bf9a032151ed6a11907b8499 /lib | |
parent | 7189d3ad45b23aa8076724e12dcdf0d1590addc4 (diff) |
s/close/end/g
Diffstat (limited to 'lib')
-rw-r--r-- | lib/utils/fetch.js | 2 | ||||
-rw-r--r-- | lib/utils/registry.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/fetch.js b/lib/utils/fetch.js index fae54e702..95b7efec3 100644 --- a/lib/utils/fetch.js +++ b/lib/utils/fetch.js @@ -78,5 +78,5 @@ function fetchAndWrite (remote, fd, headers, maxRedirects, redirects, cb) { fs.close(fd, cb); }); }) - .close(); + .end(); } diff --git a/lib/utils/registry.js b/lib/utils/registry.js index ad1ca05ec..ce5d6f857 100644 --- a/lib/utils/registry.js +++ b/lib/utils/registry.js @@ -101,7 +101,7 @@ function PUT (where, what, cb) { }); }); request.write(what, "utf8"); - request.close(); + request.end(); } function reg () { |