From 5df78741d08ae90018dda7ba34f5f7534fcb8842 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Fri, 25 May 2018 07:59:05 +0200 Subject: [PATCH] BUG corrected not working with File System --- Server/BotsScripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/BotsScripts.js b/Server/BotsScripts.js index d0735e9a6..4db21c9dd 100644 --- a/Server/BotsScripts.js +++ b/Server/BotsScripts.js @@ -247,7 +247,7 @@ let fs = require('fs'); try { - let fileName = '../Bots/' + pDevTeam + pRepo + path + "/" + moduleName; + let fileName = '../Bots/' + pDevTeam + "/" + pRepo + "/" + path; fs.readFile(fileName, onFileRead); function onFileRead(err, pData) {