diff --git a/mockserver.js b/mockserver.js index 29be3b8..02fd1cc 100644 --- a/mockserver.js +++ b/mockserver.js @@ -74,7 +74,7 @@ var parse = function (content, file) { body = body.replace(/^#import (.*);/m, function (includeStatement, file, data) { var importThisFile = file.replace(/['"]/g, ''); - return fs.readFileSync(path.join('./', context, importThisFile)); + return fs.readFileSync(path.join(context, importThisFile)); }) .replace(/\r\n?/g, '\n'); }