typescript(translucid): idk anymore
Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
parent
d0fbe7b5e9
commit
ed416caf08
|
@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
const fs = require('fs');
|
||||
function read(url) {
|
||||
return new Promise((resolve, reject) => {
|
||||
fs.readFile(`${__dirname}/${url}`, "utf8", (err, data) => {
|
||||
fs.readFile(`${__dirname}/../../${url}`, "utf8", (err, data) => {
|
||||
if (err)
|
||||
reject(err);
|
||||
resolve(data);
|
||||
|
|
Loading…
Reference in a new issue