Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
LOCKファイル削除
Browse files Browse the repository at this point in the history
  • Loading branch information
maruga-se committed Mar 8, 2022
1 parent 35fa1cc commit 358f1c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Empty file removed db/LOCK
Empty file.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const leveldown = require('leveldown');
// 住所から緯度経度付き場所型を返す
class EnrichmentAddress {
constructor() {
fs.unlinkSync(__dirname + "/db/LOCK");
this.db = levelup(leveldown(__dirname + "/db"));
}
disconnect() {
Expand Down

0 comments on commit 358f1c2

Please sign in to comment.