diff --git a/dist/index.js b/dist/index.js index 33de401..56a65a6 100644 --- a/dist/index.js +++ b/dist/index.js @@ -9750,7 +9750,7 @@ async function installOTP(osVersion, otpVersion, hexMirrors) { core.addPath(otpPath) core.exportVariable('INSTALL_DIR_FOR_OTP', cachedPath) - console.log('Installed Erlang/OTP version') + core.info('Installed Erlang/OTP version') await exec(path.join(otpPath, 'erl'), ['-version']) } else if (OS === 'win32') { if (!cachedPath) { @@ -9770,7 +9770,7 @@ async function installOTP(osVersion, otpVersion, hexMirrors) { core.addPath(otpPath) core.exportVariable('INSTALL_DIR_FOR_OTP', otpDir) - console.log('Installed Erlang/OTP version') + core.info('Installed Erlang/OTP version') await exec(path.join(otpPath, 'erl'), ['+V']) } } catch (err) { @@ -10082,7 +10082,8 @@ async function getElixirVersion(exSpec0, otpVersion0, hexMirrors) { throw new Error( `Requested Elixir / Erlang/OTP version (${exSpec0} / ${otpVersion0}) not ` + 'found in version list (did you check Compatibility between Elixir and Erlang/OTP?).' + - 'Elixir and Erlang/OTP compatibility can be found at: https://hexdocs.pm/elixir/compatibility-and-deprecations.html', + 'Elixir and Erlang/OTP compatibility can be found at: ' + + 'https://hexdocs.pm/elixir/compatibility-and-deprecations.html', ) } diff --git a/src/installer.js b/src/installer.js index c5023bd..b24821c 100644 --- a/src/installer.js +++ b/src/installer.js @@ -44,7 +44,7 @@ async function installOTP(osVersion, otpVersion, hexMirrors) { core.addPath(otpPath) core.exportVariable('INSTALL_DIR_FOR_OTP', cachedPath) - console.log('Installed Erlang/OTP version') + core.info('Installed Erlang/OTP version') await exec(path.join(otpPath, 'erl'), ['-version']) } else if (OS === 'win32') { if (!cachedPath) { @@ -64,7 +64,7 @@ async function installOTP(osVersion, otpVersion, hexMirrors) { core.addPath(otpPath) core.exportVariable('INSTALL_DIR_FOR_OTP', otpDir) - console.log('Installed Erlang/OTP version') + core.info('Installed Erlang/OTP version') await exec(path.join(otpPath, 'erl'), ['+V']) } } catch (err) { diff --git a/src/setup-beam.js b/src/setup-beam.js index 3bf40b3..cc97f9a 100644 --- a/src/setup-beam.js +++ b/src/setup-beam.js @@ -210,7 +210,8 @@ async function getElixirVersion(exSpec0, otpVersion0, hexMirrors) { throw new Error( `Requested Elixir / Erlang/OTP version (${exSpec0} / ${otpVersion0}) not ` + 'found in version list (did you check Compatibility between Elixir and Erlang/OTP?).' + - 'Elixir and Erlang/OTP compatibility can be found on: https://hexdocs.pm/elixir/compatibility-and-deprecations.html', + 'Elixir and Erlang/OTP compatibility can be found at: ' + + 'https://hexdocs.pm/elixir/compatibility-and-deprecations.html', ) }