Skip to content

Commit

Permalink
v3-url-patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouly committed Jan 28, 2025
1 parent 77bfce8 commit 199abe7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/scalafmt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ async function setup(): Promise<void> {

async function install(version: string): Promise<void> {
core.startGroup(`Install scalafmt-native:${version}`)
const installerUrl =
'https://raw.githubusercontent.com/scalameta/scalafmt/master/bin/install-scalafmt-native.sh'
const installerUrl = 'https://github.com/scalameta/scalafmt/blob/v3.8.6/bin/install-scalafmt-native.sh'
const cmd = `curl -sL ${installerUrl} | bash -sv -- ${version} ${scalafmtPath} 2>&1`
const {stdout} = await exec(cmd)
core.info(stdout)
Expand Down

0 comments on commit 199abe7

Please sign in to comment.