Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Commit

Permalink
修复下载插件错误的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
xh321 committed Nov 4, 2023
1 parent 0293f6c commit da24719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ async function install(manifest) {
const source_code_url = `https://github.com/${repo}/archive/refs/heads/${branch}.zip`;

const downloadAndInstallPlugin = async (url) => {
const body = await request(url);
const body = (await request(url)).data;

// 保存插件压缩包
const cache_path = path.join(
Expand Down

0 comments on commit da24719

Please sign in to comment.