Skip to content

Commit d17ea62

Browse files
authored
Fixed missing config imports by ankur
2 parents dc9d632 + edd1484 commit d17ea62

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

local-test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const fs = require('fs')
22
const Firestore = require('./utils/firestore.js')
33
const config = require('config')
4-
const logger = require('./utils/logger')
54

65
// check whether github credentials are not falsy
76
if (
@@ -35,5 +34,7 @@ if (!firestoreData) {
3534
throw new Error('Problem with permission of read and write.\nCheck your firestore permissions')
3635
}
3736
await docRef.delete()
38-
logger.info('Success! The backend was successfully set up.')
37+
38+
// eslint-disable-next-line no-console
39+
console.log('Success! The backend was successfully set up.')
3940
})()

utils/swaggerDefinition.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const swaggerJsDoc = require('swagger-jsdoc')
2+
const config = require('config')
23

34
/**
45
* Read more on: https://swagger.io/docs/specification/about

0 commit comments

Comments
 (0)