refactor(native): remove unused code (#4651)

This commit is contained in:
Alex Yang
2023-10-17 18:19:06 -05:00
committed by GitHub
parent a430266389
commit bb046a12dc
11 changed files with 47 additions and 391 deletions
+1 -12
View File
@@ -263,18 +263,7 @@ if (!nativeBinding) {
throw new Error(`Failed to load native binding`);
}
const {
WatcherKind,
Subscription,
FsWatcher,
moveFile,
SqliteConnection,
ValidationResult,
} = nativeBinding;
const { SqliteConnection, ValidationResult } = nativeBinding;
module.exports.WatcherKind = WatcherKind;
module.exports.Subscription = Subscription;
module.exports.FsWatcher = FsWatcher;
module.exports.moveFile = moveFile;
module.exports.SqliteConnection = SqliteConnection;
module.exports.ValidationResult = ValidationResult;