Skip to content

Commit a179b4a

Browse files
Petr Pchelkod00rman
Petr Pchelko
authored andcommitted
Bump version and spec dependency version.
1 parent bdfd3ef commit a179b4a

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

lib/db.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,7 @@ class DB {
8585
}
8686
}
8787
if (!group) {
88-
// no group found, assume the domain is to
89-
// be grouped by itthis
90-
group = {
91-
name: domain,
92-
domain: [domain]
93-
};
88+
throw new Error(`No storage group configured for ${domain}`);
9489
}
9590
// save it in the cache
9691
this._storageGroupsCache.set(domain, group);
@@ -249,7 +244,7 @@ class DB {
249244
if (!schema) {
250245
return;
251246
}
252-
deleteRequest(schema)
247+
deleteRequest(schema);
253248
});
254249
} else {
255250
const schema = this.schemaCache[tableName];

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "restbase-mod-table-sqlite",
33
"description": "RESTBase table storage using sqlite for testing purposes",
4-
"version": "1.1.2",
4+
"version": "1.2.0",
55
"main": "index.js",
66
"repository": {
77
"type": "git",
@@ -28,7 +28,7 @@
2828
"generic-pool": "^3.4.2",
2929
"js-yaml": "^3.12.0",
3030
"lru-cache": "^4.1.3",
31-
"restbase-mod-table-spec": "^1.1.3",
31+
"restbase-mod-table-spec": "^1.2.0",
3232
"sqlite3": "^4.0.3"
3333
},
3434
"devDependencies": {

0 commit comments

Comments
 (0)