lint
This commit is contained in:
parent
061f2075cf
commit
8509073458
@ -707,7 +707,7 @@ OutgoingMessage.prototype._renderHeaders = function() {
|
|||||||
Object.defineProperty(OutgoingMessage.prototype, 'headersSent', {
|
Object.defineProperty(OutgoingMessage.prototype, 'headersSent', {
|
||||||
configurable: true,
|
configurable: true,
|
||||||
enumerable: true,
|
enumerable: true,
|
||||||
get: function () { return !!this._header; }
|
get: function() { return !!this._header; }
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
@ -497,7 +497,7 @@ Module.runMain = function() {
|
|||||||
Module._load(process.argv[1], null, true);
|
Module._load(process.argv[1], null, true);
|
||||||
};
|
};
|
||||||
|
|
||||||
Module._initPaths = function () {
|
Module._initPaths = function() {
|
||||||
var isWindows = process.platform === 'win32';
|
var isWindows = process.platform === 'win32';
|
||||||
|
|
||||||
if (isWindows) {
|
if (isWindows) {
|
||||||
|
@ -112,7 +112,8 @@ var error = exports.error = function(x) {
|
|||||||
* @param {Object} obj The object to print out.
|
* @param {Object} obj The object to print out.
|
||||||
* @param {Object} opts Optional options object that alters the output.
|
* @param {Object} opts Optional options object that alters the output.
|
||||||
*/
|
*/
|
||||||
function inspect(obj, opts/* legacy: showHidden, depth, colors*/) {
|
/* legacy: obj, showHidden, depth, colors*/
|
||||||
|
function inspect(obj, opts) {
|
||||||
// default options
|
// default options
|
||||||
var ctx = {
|
var ctx = {
|
||||||
seen: [],
|
seen: [],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user