File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -88260,9 +88260,9 @@ class MacOSInstaller extends CliInstaller {
8826088260 await super.install(downloadUrl);
8826188261 return;
8826288262 }
88263- core.info("Installing 1Password CLI using MacOS .pkg installer" );
88264- const pkgPath = await tool_cache.downloadTool(downloadUrl );
88265- const { stderr } = await execAsync(`sudo installer -pkg ${pkgPath }/op_apple_universal_${this.version}.pkg -target /`);
88263+ const downloadPath = await tool_cache.downloadTool(downloadUrl );
88264+ core.info(`Installing 1Password CLI using MacOS .pkg installer: ${downloadPath}` );
88265+ const { stderr } = await execAsync(`sudo installer -pkg ${downloadPath }/op_apple_universal_${this.version}.pkg -target /`);
8826688266 if (stderr) {
8826788267 core.error(stderr);
8826888268 throw new Error(`Failed to install 1Password CLI: ${stderr}`);
Original file line number Diff line number Diff line change @@ -66,10 +66,10 @@ export class MacOSInstaller extends CliInstaller implements Installer {
6666 return ;
6767 }
6868
69- core . info ( "Installing 1Password CLI using MacOS .pkg installer" ) ;
70- const pkgPath = await tc . downloadTool ( downloadUrl ) ;
69+ const downloadPath = await tc . downloadTool ( downloadUrl ) ;
70+ core . info ( `Installing 1Password CLI using MacOS .pkg installer: ${ downloadPath } ` ) ;
7171 const { stderr } = await execAsync (
72- `sudo installer -pkg ${ pkgPath } /op_apple_universal_${ this . version } .pkg -target /` ,
72+ `sudo installer -pkg ${ downloadPath } /op_apple_universal_${ this . version } .pkg -target /` ,
7373 ) ;
7474 if ( stderr ) {
7575 core . error ( stderr ) ;
You can’t perform that action at this time.
0 commit comments