parent
1b9c69f793
commit
d129151fdf
@ -27,6 +27,8 @@ export default class Replacer {
|
||||
let text = texts;
|
||||
|
||||
if (path) {
|
||||
path = path.replace('.ts', '');
|
||||
|
||||
if (text.hasOwnProperty(path)) {
|
||||
text = text[path];
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user