なぜか .ts という拡張子で来るのかは不明
This commit is contained in:
syuilo 2018-08-23 02:28:58 +09:00
parent c0fecda18b
commit d9dd7e705d

View file

@ -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 {