diff --git a/src/index.ts b/src/index.ts index 4af3c91..f0e85d0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -134,6 +134,6 @@ async function _getVolumeMetadata( const result = { ...metadata, ...remoteInfo }; result.uuid = extractUUID(result.uuid) ?? result.uuid; - + return result; } diff --git a/src/windows/fs_meta.cpp b/src/windows/fs_meta.cpp index 65950e8..e51010b 100644 --- a/src/windows/fs_meta.cpp +++ b/src/windows/fs_meta.cpp @@ -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(); diff --git a/src/windows/fs_meta.h b/src/windows/fs_meta.h index 6a0cecb..954c926 100644 --- a/src/windows/fs_meta.h +++ b/src/windows/fs_meta.h @@ -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 \ No newline at end of file