Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Add back baseDir correction for studio
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Sep 4, 2019
1 parent f326050 commit 1127533
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gulp-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function getAsc() {
stdout: process.stdout || asc.createMemoryStream(logLn),
stderr: process.stderr || asc.createMemoryStream(logLn),
readFile: (filename, baseDir) => {
baseDir = pathModule.relative(process.cwd(), baseDir);
let path = pathModule.join(baseDir, filename);
if (!fs.existsSync(path)) {
return null;
Expand Down

0 comments on commit 1127533

Please sign in to comment.