mirror of
https://github.com/actions/setup-java.git
synced 2025-07-09 14:40:53 +00:00
fix typo
This commit is contained in:
parent
5b26cf56c2
commit
30d97e2a8d
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…
Reference in New Issue
Block a user