Skip to content

Commit

Permalink
fix: Error: ENOENT: no such file or directory, open 'Orders.js'
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed Oct 15, 2019
1 parent b666ef0 commit 74a8875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cubejs-server-core/core/FileRepository.js
Expand Up @@ -30,7 +30,7 @@ class FileRepository {
files
.filter(file => R.endsWith(".js", file))
.map(async file => {
const content = await fs.readFile(file, "utf-8");
const content = await fs.readFile(path.join(self.localPath(), file), "utf-8");
return { fileName: file, content };
})
);
Expand Down

0 comments on commit 74a8875

Please sign in to comment.