Skip to content

Commit

Permalink
use the correct option
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberbeni committed Oct 22, 2024
1 parent 548a6e4 commit 83b8a71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class SwiftToolInstaller {
this.cacheKey = `installswifttool-${uuid}`
this.workingDirectory = `${os.homedir()}/install-swift-tool-${uuid}`
await exec('mkdir', ['-p', this.workingDirectory])
this.productDirectory = await exec('swift', ['build', '--package-path', this.workingDirectory, '--configuration', 'release', '--show-bin-dir'])
this.productDirectory = await exec('swift', ['build', '--package-path', this.workingDirectory, '--configuration', 'release', '--show-bin-path'])
})
}

Expand Down

0 comments on commit 83b8a71

Please sign in to comment.