File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ export async function run() {
2424 let binaryPath = find ( toolName , cliVersion ) ;
2525 const isCached = Boolean ( binaryPath ) ;
2626
27+ /* istanbul ignore else */
2728 if ( ! isCached ) {
2829 // Download the specific version of the tool (e.g., tarball/zipball)
2930 const download = getDownloadObject ( cliVersion ) ;
@@ -41,6 +42,7 @@ export async function run() {
4142 binaryPath = getBinaryPath ( binaryDirectory , cliName ) ;
4243
4344 // Rename the binary
45+ /* istanbul ignore else */
4446 if ( cliName !== DEFAULT_NAME ) {
4547 await exec ( 'mv' , [
4648 getBinaryPath ( binaryDirectory , DEFAULT_NAME ) ,
@@ -53,6 +55,7 @@ export async function run() {
5355 addPath ( path . dirname ( binaryPath ) ) ;
5456
5557 // Cache the tool
58+ /* istanbul ignore else */
5659 if ( ! isCached ) {
5760 await cacheFile ( binaryPath , cliName , toolName , cliVersion ) ;
5861 }
You can’t perform that action at this time.
0 commit comments