Skip to content

Commit 06e22f4

Browse files
committed
remove commented out code
1 parent b687ea7 commit 06e22f4

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

src/node_code_integrity.cc

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -97,21 +97,6 @@ static void IsFileTrustedBySystemCodeIntegrityPolicy(
9797
InitWldp(env);
9898
}
9999

100-
// BufferValue path(env->isolate(), args[0]);
101-
// CHECK_NOT_NULL(*path);
102-
103-
// HANDLE hFile = CreateFileA(*path,
104-
// GENERIC_READ,
105-
// FILE_SHARE_READ,
106-
// nullptr,
107-
// OPEN_EXISTING,
108-
// FILE_ATTRIBUTE_NORMAL,
109-
// nullptr);
110-
111-
// if (hFile == INVALID_HANDLE_VALUE || hFile == nullptr) {
112-
// return args.GetReturnValue().SetFalse();
113-
// }
114-
115100
HANDLE hFile = uv_get_osfhandle(fd);
116101

117102
if (hFile == INVALID_HANDLE_VALUE || hFile == nullptr) {

0 commit comments

Comments
 (0)