We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 846b074 commit 21198c1Copy full SHA for 21198c1
src/node_file.cc
@@ -277,13 +277,13 @@ inline void FileHandle::Close() {
277
detail.fd);
278
if (env->filehandle_close_warning()) {
279
env->set_filehandle_close_warning(false);
280
- ProcessEmitDeprecationWarning(
+ USE(ProcessEmitDeprecationWarning(
281
env,
282
"Closing a FileHandle object on garbage collection is deprecated. "
283
"Please close FileHandle objects explicitly using "
284
"FileHandle.prototype.close(). In the future, an error will be "
285
"thrown if a file descriptor is closed during garbage collection.",
286
- "DEP0137").IsNothing();
+ "DEP0137"));
287
}
288
}, CallbackFlags::kUnrefed);
289
0 commit comments