Commit 45ea95ae authored by Milan Wikarski's avatar Milan Wikarski 🎪
Browse files

Bug fix in read

parent 32298d32
......@@ -35,7 +35,7 @@ function read(filename, encoding = 'utf8', silent = false) {
return err ? resolve(null) : resolve(data);
}
return err ? reject(err) : resolve(true);
return err ? reject(err) : resolve(data);
});
});
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment