Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Jan 10, 2025
1 parent fa5ead1 commit 7cb8e1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30015,7 +30015,7 @@ function getCdnIconfontVersion() {
function miniprogramUpdateIcons(repo, version) {
return __awaiter(this, void 0, void 0, function* () {
yield (0, exec_1.exec)('npm', ['install'], { cwd: `../${repo}` });
yield (0, exec_1.exec)('node', ['./script/update-icons.js', '--version ', version], { cwd: `../${repo}` });
yield (0, exec_1.exec)('node', ['./script/update-icons.js', '--version', version], { cwd: `../${repo}` });
yield (0, exec_1.exec)('git', ['status'], { cwd: `../${repo}` });
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/tdesign/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function getCdnIconfontVersion(): Promise<string> {
}
async function miniprogramUpdateIcons(repo: string, version: string) {
await exec('npm', ['install'], { cwd: `../${repo}` })
await exec('node', ['./script/update-icons.js', '--version ', version], { cwd: `../${repo}` })
await exec('node', ['./script/update-icons.js', '--version', version], { cwd: `../${repo}` })
await exec('git', ['status'], { cwd: `../${repo}` })
}
export default async function start(context: TriggerContext) {
Expand Down

0 comments on commit 7cb8e1a

Please sign in to comment.