diff --git a/src/node.cc b/src/node.cc index 9a1c4eeb6a72e6..2e44e249a0d5fd 100644 --- a/src/node.cc +++ b/src/node.cc @@ -2667,7 +2667,7 @@ static void EnvSetter(Local property, "Assigning any value other than a string, number, or boolean to a " "process.env property is deprecated. Please make sure to convert the " "value to a string before setting process.env with it.", - "DEP00XX").IsNothing()) + "DEP0104").IsNothing()) return; } #ifdef __POSIX__ diff --git a/test/parallel/test-process-env-deprecation.js b/test/parallel/test-process-env-deprecation.js index c3b9ea6da37a23..68817b320b4717 100644 --- a/test/parallel/test-process-env-deprecation.js +++ b/test/parallel/test-process-env-deprecation.js @@ -9,7 +9,7 @@ common.expectWarning( 'Assigning any value other than a string, number, or boolean to a ' + 'process.env property is deprecated. Please make sure to convert the value ' + 'to a string before setting process.env with it.', - 'DEP00XX' + 'DEP0104' ); process.env.ABC = undefined;