Santhosh has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/284686

Change subject: Use the registry configuration from a relative path
......................................................................

Use the registry configuration from a relative path

Change-Id: I5a3b87141da586955b5749e96f683262561c1bbd
---
M app.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/cxserver 
refs/changes/86/284686/1

diff --git a/app.js b/app.js
index 39c6db1..9d01ce4 100644
--- a/app.js
+++ b/app.js
@@ -77,7 +77,7 @@
 
        if ( app.conf.registry.constructor !== Object ) {
                try {
-                       app.conf.registry = yaml.safeLoad( fs.readFileSync( 
app.conf.registry ) );
+                       app.conf.registry = yaml.safeLoad( fs.readFileSync( 
__dirname + '/' + app.conf.registry ) );
                } catch ( e ) {
                        app.logger.log( 'warn/registry', 'Could not load the 
registry: ' + e );
                        app.conf.registry = {};

-- 
To view, visit https://gerrit.wikimedia.org/r/284686
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a3b87141da586955b5749e96f683262561c1bbd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/cxserver
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to