fixed linting issue

This commit is contained in:
Chris Troutner
2022-09-08 08:58:39 -07:00
parent da637df44a
commit 448b028bb4
96 changed files with 2859 additions and 11578 deletions
+5 -2
View File
@@ -6,14 +6,17 @@
/* eslint no-unneeded-ternary:0 */
// Get the version from the package.json file.
const pkgInfo = require('../../package.json')
import { readFileSync } from 'fs'
const pkgInfo = JSON.parse(readFileSync('package.json'))
const version = pkgInfo.version
const ipfsCoordName = process.env.COORD_NAME
? process.env.COORD_NAME
: 'ipfs-bch-wallet-service'
module.exports = {
export default {
// Configure TCP port.
port: process.env.PORT || 5001,