Skip to content

Commit

Permalink
feat: 代码优化
Browse files Browse the repository at this point in the history
  • Loading branch information
LetTTGACO committed Nov 22, 2023
1 parent 2a878ca commit ce77a0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/utils/gen-env-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const envStr =
'YUQUE_TOKEN=\n' +
'# 语雀(帐号密码方式)\n' +
'YUQUE_USERNAME=\n' +
'# 语雀公共参数,使用语雀必填\n' +
'YUQUE_PASSWORD=\n' +
'# 语雀公共参数,使用语雀必填\n' +
'YUQUE_LOGIN=\n' +
'YUQUE_REPO=\n' +
'\n' +
Expand Down
6 changes: 0 additions & 6 deletions packages/plugin-image/src/platform/local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ class LocalClient {
if (this.config.imagePathExt) {
return getImagePathExt(this.config.imagePathExt)
} else {
// if (this.config.pathFollowDoc) {
// // 提示用户,一定开启按 deploy.local.catalog = true
// out.warning(
// '注意:当前已开启【图片路径根据文档计算】请检查是否设置 deploy.local.catalog = true',
// )
// }
return this.genImagePath
}
}
Expand Down

0 comments on commit ce77a0d

Please sign in to comment.