@@ -28,7 +28,7 @@ module.exports = (robot, { getRouter }, Settings = require('./lib/settings')) =>
2828 if ( nop ) {
2929 let filename = env . SETTINGS_FILE_PATH
3030 if ( ! deploymentConfig ) {
31- filename = env . DEPLOYMENT_CONFIG_FILE
31+ filename = env . DEPLOYMENT_CONFIG_FILE_PATH
3232 deploymentConfig = { }
3333 }
3434 const nopcommand = new NopCommand ( filename , repo , null , e , 'ERROR' )
@@ -53,7 +53,7 @@ module.exports = (robot, { getRouter }, Settings = require('./lib/settings')) =>
5353 if ( nop ) {
5454 let filename = env . SETTINGS_FILE_PATH
5555 if ( ! deploymentConfig ) {
56- filename = env . DEPLOYMENT_CONFIG_FILE
56+ filename = env . DEPLOYMENT_CONFIG_FILE_PATH
5757 deploymentConfig = { }
5858 }
5959 const nopcommand = new NopCommand ( filename , repo , null , e , 'ERROR' )
@@ -78,7 +78,7 @@ module.exports = (robot, { getRouter }, Settings = require('./lib/settings')) =>
7878 if ( nop ) {
7979 let filename = env . SETTINGS_FILE_PATH
8080 if ( ! deploymentConfig ) {
81- filename = env . DEPLOYMENT_CONFIG_FILE
81+ filename = env . DEPLOYMENT_CONFIG_FILE_PATH
8282 deploymentConfig = { }
8383 }
8484 const nopcommand = new NopCommand ( filename , repo , null , e , 'ERROR' )
@@ -104,7 +104,7 @@ module.exports = (robot, { getRouter }, Settings = require('./lib/settings')) =>
104104 if ( nop ) {
105105 let filename = env . SETTINGS_FILE_PATH
106106 if ( ! deploymentConfig ) {
107- filename = env . DEPLOYMENT_CONFIG_FILE
107+ filename = env . DEPLOYMENT_CONFIG_FILE_PATH
108108 deploymentConfig = { }
109109 }
110110 const nopcommand = new NopCommand ( filename , repo , null , e , 'ERROR' )
@@ -123,7 +123,7 @@ module.exports = (robot, { getRouter }, Settings = require('./lib/settings')) =>
123123 */
124124 async function loadYamlFileSystem ( ) {
125125 if ( deploymentConfig === undefined ) {
126- const deploymentConfigPath = env . DEPLOYMENT_CONFIG_FILE
126+ const deploymentConfigPath = env . DEPLOYMENT_CONFIG_FILE_PATH
127127 if ( fs . existsSync ( deploymentConfigPath ) ) {
128128 deploymentConfig = yaml . load ( fs . readFileSync ( deploymentConfigPath ) )
129129 } else {
0 commit comments