We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f6950d4 + 5505708 commit a1de767Copy full SHA for a1de767
lib/ui.js
@@ -5,7 +5,7 @@ const fileStore = { };
5
const fs = require('fs');
6
const path = require('path');
7
const _ = require('./utils.js');
8
-const includesDir = path.join(path.dirname(module.filename), '../ui');
+const includesDir = path.join(__dirname, '../ui');
9
10
const readFile = (name, callback) => {
11
if (fileStore[name]) {
0 commit comments