Skip to content
Snippets Groups Projects
Commit f5fd523c authored by syuilo's avatar syuilo
Browse files

Fix bug

parent 4d7b2d72
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ const fs = require('fs');
const yaml = require('js-yaml');
const loadLang = lang => yaml.safeLoad(
fs.readFileSync(`./locales/${lang}.yml`, 'utf-8'));
fs.readFileSync(`${__dirname}/${lang}.yml`, 'utf-8'));
const native = loadLang('ja');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment