Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Nov 15, 2024
1 parent 4706b70 commit 1dde507
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,6 @@ async function _getVolumeMetadata(

const result = { ...metadata, ...remoteInfo };
result.uuid = extractUUID(result.uuid) ?? result.uuid;

return result;
}
4 changes: 3 additions & 1 deletion src/windows/fs_meta.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ Napi::Value GetVolumeMountPoints(Napi::Env env) {
return deferred.Promise();
}

Napi::Value GetVolumeMetadata(const Napi::Env& env, const std::string& mountPoint, const Napi::Object& options) {
Napi::Value GetVolumeMetadata(const Napi::Env &env,
const std::string &mountPoint,
const Napi::Object &options) {
auto deferred = Napi::Promise::Deferred::New(env);
auto *worker = new GetVolumeMetadataWorker(mountPoint, deferred);
worker->Queue();
Expand Down
3 changes: 2 additions & 1 deletion src/windows/fs_meta.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@

namespace FSMeta {
Napi::Value GetVolumeMountPoints(Napi::Env env);
Napi::Value GetVolumeMetadata(const Napi::Env& env, const std::string& path, const Napi::Object& options);
Napi::Value GetVolumeMetadata(const Napi::Env &env, const std::string &path,
const Napi::Object &options);
} // namespace FSMeta

0 comments on commit 1dde507

Please sign in to comment.