No effect
This commit is contained in:
parent
c6c1e6bf09
commit
a8be36a3f6
4
APP-distribution-db.json
Normal file
4
APP-distribution-db.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"appLog": [],
|
||||
"buildLog": []
|
||||
}
|
@ -4,7 +4,7 @@ import FileSync from 'lowdb/adapters/FileSync'
|
||||
import { SYSTEM } from '../config'
|
||||
|
||||
const isDev = process.env.NODE_ENV ? process.env.NODE_ENV === 'development' : false
|
||||
const adapter = isDev ? new FileSync(path.join(SYSTEM.NAME + '-distribution-db.json')) : new FileSync(path.join(SYSTEM.WORKPATH, SYSTEM.NAME + '-distribution-db.json'))
|
||||
const adapter = new FileSync(isDev ? path.join(SYSTEM.NAME + '-distribution-db.json') : path.join(SYSTEM.WORKPATH, SYSTEM.NAME + '-distribution-db.json'))
|
||||
const db = low(adapter)
|
||||
|
||||
if (!db.get('appLog').value()) {
|
||||
|
Loading…
Reference in New Issue
Block a user