diff --git a/grunt/helpers/Framework.js b/grunt/helpers/Framework.js index e9f6bda48..c069ecbdf 100644 --- a/grunt/helpers/Framework.js +++ b/grunt/helpers/Framework.js @@ -42,9 +42,9 @@ class Framework { /** @type {string} */ this.rootPath = rootPath.replace(/\\/g, '/'); /** @type {string} */ - this.outputPath = path.join(this.rootPath, outputPath).replace(/\\/g, '/'); + this.outputPath = path.resolve(this.rootPath, outputPath).replace(/\\/g, '/'); /** @type {string} */ - this.sourcePath = path.join(this.rootPath, sourcePath).replace(/\\/g, '/'); + this.sourcePath = path.resolve(this.rootPath, sourcePath).replace(/\\/g, '/'); /** @type {string} */ this.courseDir = courseDir; /** @type {function} */