We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a69e37 commit e3257b5Copy full SHA for e3257b5
src/db.js
@@ -1,4 +1,3 @@
1
-const flatfile = require('flat-file-db')
2
const promise = require('promise')
3
4
let adapter
@@ -9,7 +8,6 @@ if (process.env.DB_ADAPTER) {
9
8
const adapterName = `micro-analytics-adapter-${process.env.DB_ADAPTER}`
10
try {
11
adapter = require(adapterName)
12
- console.log(`Using ${adapterName}`)
13
} catch (err) {
14
if (err.code === 'MODULE_NOT_FOUND') {
15
// Console.error a warning message, but normally exit the process to avoid printing ugly npm ERR lines and stack trace.
@@ -18,7 +16,6 @@ if (process.env.DB_ADAPTER) {
18
16
}
19
17
20
} else {
21
- console.log('Using standard flat-file-adapter')
22
adapter = require('./flat-file-adapter')
23
24
0 commit comments