File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments