mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 18:36:46 +00:00
fix typo
This commit is contained in:
parent
5b26cf56c2
commit
30d97e2a8d
2 changed files with 2 additions and 2 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -3954,7 +3954,7 @@ class JavaBase {
|
||||||
.replace(/-ea$/, '')
|
.replace(/-ea$/, '')
|
||||||
.replace('-', '+'),
|
.replace('-', '+'),
|
||||||
path: util_1.getToolcachePath(this.toolcacheFolderName, item, this.architecture),
|
path: util_1.getToolcachePath(this.toolcacheFolderName, item, this.architecture),
|
||||||
stable: item.includes('-ea')
|
stable: !item.includes('-ea')
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
.filter(item => item.stable === this.stable);
|
.filter(item => item.stable === this.stable);
|
||||||
|
|
|
@ -82,7 +82,7 @@ export abstract class JavaBase {
|
||||||
.replace(/-ea$/, '')
|
.replace(/-ea$/, '')
|
||||||
.replace('-', '+'),
|
.replace('-', '+'),
|
||||||
path: getToolcachePath(this.toolcacheFolderName, item, this.architecture),
|
path: getToolcachePath(this.toolcacheFolderName, item, this.architecture),
|
||||||
stable: item.includes('-ea')
|
stable: !item.includes('-ea')
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
.filter(item => item.stable === this.stable);
|
.filter(item => item.stable === this.stable);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue