From 6100e12667429acad1827b6d918e512e55a7a6a7 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Wed, 13 Dec 2017 14:24:34 -0800 Subject: fs: move type checking to js PR-URL: https://github.com/nodejs/node/pull/17667 Reviewed-By: Joyee Cheung Reviewed-By: Matteo Collina --- src/node_constants.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/node_constants.cc') diff --git a/src/node_constants.cc b/src/node_constants.cc index d478d43400..9ecffead53 100644 --- a/src/node_constants.cc +++ b/src/node_constants.cc @@ -1028,6 +1028,8 @@ void DefineOpenSSLConstants(Local target) { } void DefineSystemConstants(Local target) { + NODE_DEFINE_CONSTANT(target, UV_FS_SYMLINK_DIR); + NODE_DEFINE_CONSTANT(target, UV_FS_SYMLINK_JUNCTION); // file access modes NODE_DEFINE_CONSTANT(target, O_RDONLY); NODE_DEFINE_CONSTANT(target, O_WRONLY); -- cgit v1.2.3