mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 02:16:45 +00:00
fix review points
This commit is contained in:
parent
d28f3e22c6
commit
c13e4b13ba
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ async function run() {
|
|||
}
|
||||
|
||||
if (!versions.length && !versionFile) {
|
||||
throw new Error('Java-version or java-version-file input expected');
|
||||
throw new Error('java-version or java-version-file input expected');
|
||||
}
|
||||
|
||||
const installerInputsOptions: installerInputsOptions = {
|
||||
|
@ -42,7 +42,7 @@ async function run() {
|
|||
};
|
||||
|
||||
if (!versions.length) {
|
||||
core.debug('Java-version input is empty, looking for java-version-file input');
|
||||
core.debug('java-version input is empty, looking for java-version-file input');
|
||||
const content = fs
|
||||
.readFileSync(versionFile)
|
||||
.toString()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue