Skip to content

Commit 8c174d9

Browse files
committed
Cleanup output
1 parent 70a9c9d commit 8c174d9

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

index.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,13 @@ async function install_cpm(install_to) {
3131
const version = core.getInput("version");
3232
const url = `https://raw.githubusercontent.com/skaji/cpm/${version}/cpm`;
3333

34-
core.info(`Get cpm from ${url}`);
34+
core.info(`Get cpm from URL: ${url}`);
3535

3636
const cpmScript = await tc.downloadTool(url);
3737

38-
core.info("cpm", cpmScript);
39-
40-
core.info(`install_to ${install_to}`);
38+
core.info(`Install cpm to: ${install_to}`);
4139

4240
const platform = os.platform();
43-
//core.info(`OS: :${platform}:`);
4441

4542
if (platform == "win32") {
4643
await io.cp(cpmScript, install_to);
@@ -52,8 +49,6 @@ async function install_cpm(install_to) {
5249
`cp("${cpmScript}", "${install_to}"); chmod(0755, "${install_to}")`,
5350
]);
5451
}
55-
//await io.cp(cpmScript, install_to); /* need to run with sudo */
56-
//await ioUtil.chmod(install_to, '0755')
5752

5853
return install_to;
5954
}

0 commit comments

Comments
 (0)