Skip to content

Commit de8b164

Browse files
committed
fix: don't namespace script env variables by default
1 parent a753c27 commit de8b164

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/recruit-crm-job-import/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
const config = require('config')
77

8-
const namespace = process.env.RCRM_IMPORT_CONFIG_NAMESAPCE || 'RCRM_IMPORT_'
8+
const namespace = process.env.RCRM_IMPORT_CONFIG_NAMESAPCE || ''
99

1010
module.exports = {
1111
SLEEP_TIME: process.env[`${namespace}SLEEP_TIME`] || 500,

scripts/recruit-crm-job-sync/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
const config = require('config')
77

8-
const namespace = process.env.RCRM_SYNC_CONFIG_NAMESAPCE || 'RCRM_SYNC_'
8+
const namespace = process.env.RCRM_SYNC_CONFIG_NAMESAPCE || ''
99

1010
module.exports = {
1111
SLEEP_TIME: process.env[`${namespace}SLEEP_TIME`] || 500,

0 commit comments

Comments
 (0)