Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
fix for --harmony_block_scoping
Browse files Browse the repository at this point in the history
Fixes #1969.
  • Loading branch information
koichik committed Oct 30, 2011
1 parent 52c2988 commit 8a72927
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/_debugger.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ Client.prototype.listbreakpoints = function(cb) {
};

Client.prototype.setBreakpoint = function(req, cb) {
var req = {
req = {
command: 'setbreakpoint',
arguments: req
};
Expand Down
2 changes: 1 addition & 1 deletion lib/child_process.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ exports.execFile = function(file /* args, options, callback */) {


var spawn = exports.spawn = function(file, args, options) {
var args = args ? args.slice(0) : [];
args = args ? args.slice(0) : [];
args.unshift(file);

var env = (options ? options.env : null) || process.env;
Expand Down
2 changes: 1 addition & 1 deletion lib/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ OutgoingMessage.prototype.write = function(chunk, encoding) {
if (this.chunkedEncoding) {
if (typeof(chunk) === 'string') {
len = Buffer.byteLength(chunk, encoding);
var chunk = len.toString(16) + CRLF + chunk + CRLF;
chunk = len.toString(16) + CRLF + chunk + CRLF;
ret = this._send(chunk, encoding);
} else {
// buffer
Expand Down

0 comments on commit 8a72927

Please sign in to comment.