File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export let db: Datastore;
1818if ( process . env . NODE_ENV === 'test' ) {
1919 db = new Datastore ( { inMemoryOnly : true , autoload : true } ) ;
2020} else {
21- db = new Datastore ( { filename : './.data/db/pushes .db' , autoload : true } ) ;
21+ db = new Datastore ( { filename : './.data/db/repos .db' , autoload : true } ) ;
2222}
2323try {
2424 db . ensureIndex ( { fieldName : 'url' , unique : true } ) ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export let db: Datastore;
1616if ( process . env . NODE_ENV === 'test' ) {
1717 db = new Datastore ( { inMemoryOnly : true , autoload : true } ) ;
1818} else {
19- db = new Datastore ( { filename : './.data/db/pushes .db' , autoload : true } ) ;
19+ db = new Datastore ( { filename : './.data/db/users .db' , autoload : true } ) ;
2020}
2121
2222// Using a unique constraint with the index
You can’t perform that action at this time.
0 commit comments