forked from FoundKeyGang/FoundKey
parent
1b9c69f793
commit
d129151fdf
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ export default class Replacer {
|
||||||
let text = texts;
|
let text = texts;
|
||||||
|
|
||||||
if (path) {
|
if (path) {
|
||||||
|
path = path.replace('.ts', '');
|
||||||
|
|
||||||
if (text.hasOwnProperty(path)) {
|
if (text.hasOwnProperty(path)) {
|
||||||
text = text[path];
|
text = text[path];
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue