td-web-cli 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -104,7 +104,7 @@ async function batchCheckTexts(texts, language) {
104
104
  export async function excel2json(program) {
105
105
  var _a;
106
106
  // 配置文件默认路径
107
- const configPath = path.join(__dirname, '../setting.json');
107
+ const configPath = path.join(__dirname, '../../../../setting.json');
108
108
  let i18nConfig;
109
109
  // 加载配置文件
110
110
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "td-web-cli",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "A CLI tool for efficiency",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -143,7 +143,7 @@ async function batchCheckTexts(
143
143
  */
144
144
  export async function excel2json(program: Command) {
145
145
  // 配置文件默认路径
146
- const configPath = path.join(__dirname, '../setting.json');
146
+ const configPath = path.join(__dirname, '../../../../setting.json');
147
147
  let i18nConfig: I18nConfig;
148
148
 
149
149
  // 加载配置文件