Skip to content

Commit

Permalink
fix: 修复重复新建common文件下的文案问题
Browse files Browse the repository at this point in the history
  • Loading branch information
cherry.zj committed Jan 19, 2020
1 parent 3ad87f9 commit 4c3144d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions kiwi-linter/src/getLangData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ export function getI18N() {
vscode.window.showWarningMessage(`\`${curr}\` 解析失败,该文件包含的文案无法自动补全`);
}

if (filename === 'common') {
return {
...prev,
...jsObj
};
}
return {
...prev,
[filename]: jsObj
Expand Down

0 comments on commit 4c3144d

Please sign in to comment.