diff options
author | James M Snell <jasnell@gmail.com> | 2019-06-23 08:39:57 -0500 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2019-07-20 11:05:15 +0200 |
commit | cbf540136f07f1fb9c8101924b11db52fb6f0204 (patch) | |
tree | 9648018604896238b9f19d184a7e456629a7efa0 /lib | |
parent | e6e98afbf272d2480d6bf4aa6dfa2d8e2fdd42ad (diff) | |
download | android-node-v8-cbf540136f07f1fb9c8101924b11db52fb6f0204.tar.gz android-node-v8-cbf540136f07f1fb9c8101924b11db52fb6f0204.tar.bz2 android-node-v8-cbf540136f07f1fb9c8101924b11db52fb6f0204.zip |
worker: assign missing deprecation code
PR-URL: https://github.com/nodejs/node/pull/28395
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/internal/worker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/worker.js b/lib/internal/worker.js index 8fbff4fcf2..b6a7bbad67 100644 --- a/lib/internal/worker.js +++ b/lib/internal/worker.js @@ -232,7 +232,7 @@ class Worker extends EventEmitter { process.emitWarning( 'Passing a callback to worker.terminate() is deprecated. ' + 'It returns a Promise instead.', - 'DeprecationWarning', 'DEP0XXX'); + 'DeprecationWarning', 'DEP0132'); this.once('exit', (exitCode) => callback(null, exitCode)); } |