Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Address nits
  • Loading branch information
jasnell committed Apr 20, 2017
commit 3a6954a22f119d9b0e54a4cf88e10a5e3807039d
8 changes: 4 additions & 4 deletions lib/internal/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ function objectToString(o) {
return Object.prototype.toString.call(o);
}

// Mark that a method should not be used.
// Returns a modified function which warns once by default.
// If --no-deprecation is set, then it is a no-op.
// Mark that a method should not be used.
// Returns a modified function which warns once by default.
// If --no-deprecation is set, then it is a no-op.
function deprecate(fn, msg, code) {
// Allow for deprecating things in the process of starting up.
if (global.process === undefined) {
Expand Down Expand Up @@ -180,7 +180,7 @@ function convertToValidSignal(signal) {
throw new Error('Unknown signal: ' + signal);
}

module.exports = {
module.exports = exports = {
assertCrypto,
cachedResult,
convertToValidSignal,
Expand Down