@@ -28,7 +28,7 @@ module.exports = (robot, { getRouter }, Settings = require('./lib/settings')) =>
28
28
if ( nop ) {
29
29
let filename = env . SETTINGS_FILE_PATH
30
30
if ( ! deploymentConfig ) {
31
- filename = env . DEPLOYMENT_CONFIG_FILE
31
+ filename = env . DEPLOYMENT_CONFIG_FILE_PATH
32
32
deploymentConfig = { }
33
33
}
34
34
const nopcommand = new NopCommand ( filename , repo , null , e , 'ERROR' )
@@ -53,7 +53,7 @@ module.exports = (robot, { getRouter }, Settings = require('./lib/settings')) =>
53
53
if ( nop ) {
54
54
let filename = env . SETTINGS_FILE_PATH
55
55
if ( ! deploymentConfig ) {
56
- filename = env . DEPLOYMENT_CONFIG_FILE
56
+ filename = env . DEPLOYMENT_CONFIG_FILE_PATH
57
57
deploymentConfig = { }
58
58
}
59
59
const nopcommand = new NopCommand ( filename , repo , null , e , 'ERROR' )
@@ -78,7 +78,7 @@ module.exports = (robot, { getRouter }, Settings = require('./lib/settings')) =>
78
78
if ( nop ) {
79
79
let filename = env . SETTINGS_FILE_PATH
80
80
if ( ! deploymentConfig ) {
81
- filename = env . DEPLOYMENT_CONFIG_FILE
81
+ filename = env . DEPLOYMENT_CONFIG_FILE_PATH
82
82
deploymentConfig = { }
83
83
}
84
84
const nopcommand = new NopCommand ( filename , repo , null , e , 'ERROR' )
@@ -104,7 +104,7 @@ module.exports = (robot, { getRouter }, Settings = require('./lib/settings')) =>
104
104
if ( nop ) {
105
105
let filename = env . SETTINGS_FILE_PATH
106
106
if ( ! deploymentConfig ) {
107
- filename = env . DEPLOYMENT_CONFIG_FILE
107
+ filename = env . DEPLOYMENT_CONFIG_FILE_PATH
108
108
deploymentConfig = { }
109
109
}
110
110
const nopcommand = new NopCommand ( filename , repo , null , e , 'ERROR' )
@@ -123,7 +123,7 @@ module.exports = (robot, { getRouter }, Settings = require('./lib/settings')) =>
123
123
*/
124
124
async function loadYamlFileSystem ( ) {
125
125
if ( deploymentConfig === undefined ) {
126
- const deploymentConfigPath = env . DEPLOYMENT_CONFIG_FILE
126
+ const deploymentConfigPath = env . DEPLOYMENT_CONFIG_FILE_PATH
127
127
if ( fs . existsSync ( deploymentConfigPath ) ) {
128
128
deploymentConfig = yaml . load ( fs . readFileSync ( deploymentConfigPath ) )
129
129
} else {
0 commit comments