diff options
author | Rongjian Zhang <pd4d10@gmail.com> | 2019-11-24 12:40:40 +0800 |
---|---|---|
committer | Guy Bedford <guybedford@gmail.com> | 2019-12-04 22:36:37 -0500 |
commit | aa4c57ae7e74a623f5255a7f05a6ff9d5bc335d0 (patch) | |
tree | 9d7ab21bd8ace8e731ae5ecf9c79489236fe0455 /src/node_process.h | |
parent | 110dc02747473ae8193d71c1aa9cbedd71bfaa01 (diff) | |
download | node-new-aa4c57ae7e74a623f5255a7f05a6ff9d5bc335d0.tar.gz |
module: add warnings for experimental flags
PR-URL: https://github.com/nodejs/node/pull/30617
Fixes: https://github.com/nodejs/node/issues/30600
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Diffstat (limited to 'src/node_process.h')
-rw-r--r-- | src/node_process.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_process.h b/src/node_process.h index 5db7b004d6..ad86b449f9 100644 --- a/src/node_process.h +++ b/src/node_process.h @@ -27,6 +27,8 @@ v8::Maybe<bool> ProcessEmitWarningGeneric(Environment* env, const char* code = nullptr); v8::Maybe<bool> ProcessEmitWarning(Environment* env, const char* fmt, ...); +v8::Maybe<bool> ProcessEmitExperimentalWarning(Environment* env, + const char* warning); v8::Maybe<bool> ProcessEmitDeprecationWarning(Environment* env, const char* warning, const char* deprecation_code); |