mirror of
https://github.com/actions/setup-java.git
synced 2025-11-20 15:24:07 +00:00
chore: format and rebuild
This commit is contained in:
parent
ebfc458f30
commit
d6f9a136b1
5359
dist/cleanup/index.js
vendored
5359
dist/cleanup/index.js
vendored
File diff suppressed because it is too large
Load Diff
5359
dist/setup/index.js
vendored
5359
dist/setup/index.js
vendored
File diff suppressed because it is too large
Load Diff
@ -59,8 +59,9 @@ export async function createToolchainsSettings({
|
||||
// when an alternate m2 location is specified use only that location (no .m2 directory)
|
||||
// otherwise use the home/.m2/ path
|
||||
await io.mkdirP(settingsDirectory);
|
||||
const originalToolchains =
|
||||
await readExistingToolchainsFile(settingsDirectory);
|
||||
const originalToolchains = await readExistingToolchainsFile(
|
||||
settingsDirectory
|
||||
);
|
||||
const updatedToolchains = generateToolchainDefinition(
|
||||
originalToolchains,
|
||||
jdkInfo.version,
|
||||
|
||||
@ -144,7 +144,9 @@ export function getVersionFromFileContent(
|
||||
? (content.match(javaVersionRegExp)?.groups?.version as string)
|
||||
: '';
|
||||
|
||||
core.debug(`Parsed version '${capturedVersion}' from file '${versionFileName}'`);
|
||||
core.debug(
|
||||
`Parsed version '${capturedVersion}' from file '${versionFileName}'`
|
||||
);
|
||||
if (!capturedVersion) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user