Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Zheng <[email protected]>
  • Loading branch information
Two-Hearts committed Aug 2, 2023
1 parent 620f00c commit 5e7dab4
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 9 deletions.
14 changes: 14 additions & 0 deletions dist/lib/checksum.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions dist/lib/install.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions dist/setup.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 17 additions & 4 deletions dist/sign.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/sign.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions dist/verify.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions src/sign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,9 @@ async function setupPlugin() {
}

function getPluginConfigList(pluginConfig: string): string[] {
let pluginConfigList: string[] = [];
for (const config of pluginConfig.split(/\r|\n/)) {
let param = `--plugin-config=${config}`;
pluginConfigList.push(param);
let pluginConfigList = JSON.parse(pluginConfig);
for (let i = 0; i < pluginConfigList.length; ++i) {
pluginConfigList[i] = "--plugin-config=" + pluginConfigList[i];
}
return pluginConfigList;
}
Expand Down

0 comments on commit 5e7dab4

Please sign in to comment.