Skip to content

Commit b7ca3e3

Browse files
Commit
1 parent 9d9f2d6 commit b7ca3e3

3 files changed

Lines changed: 0 additions & 4 deletions

File tree

dist/addon.node

0 Bytes
Binary file not shown.

native-src/placeholders_interface/Planceholders.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ winrt::file_handle Placeholders::OpenFileHandle(const std::wstring &path, DWORD
4040
dwFlagsAndAttributes,
4141
nullptr)};
4242

43-
auto fileHandle = handleForPath(path);
4443
if (!fileHandle)
4544
{
4645
throw std::runtime_error("Failed to open file handle: " + std::to_string(GetLastError()));

native-src/virtual_drive/get_placeholder_state/get_placeholder_state_wrapper.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ napi_value get_placeholder_state_wrapper(napi_env env, napi_callback_info info)
88

99
FileState state = Placeholders::GetPlaceholderInfo(path);
1010

11-
state.placeholderId.erase(std::remove(state.placeholderId.begin(), state.placeholderId.end(), '\0'), state.placeholderId.end());
12-
state.placeholderId.erase(std::remove(state.placeholderId.begin(), state.placeholderId.end(), ' '), state.placeholderId.end());
13-
1411
napi_value result;
1512
napi_create_object(env, &result);
1613

0 commit comments

Comments
 (0)