Merge "fix: Fix e2e i18n"
This commit is contained in:
commit
cbbb9b2650
@ -30,7 +30,7 @@ const loadYaml = (filePath) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
function getZhJson() {
|
function getZhJson() {
|
||||||
const jsonPath = root('src/locales/zh.json');
|
const jsonPath = root('../src/locales/zh.json');
|
||||||
try {
|
try {
|
||||||
const rawData = fs.readFileSync(jsonPath);
|
const rawData = fs.readFileSync(jsonPath);
|
||||||
const translate = JSON.parse(rawData);
|
const translate = JSON.parse(rawData);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user