Fix 'disableJavaCheck' not always being checked
This commit is contained in:
parent
2a34829b7e
commit
59bfa35172
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -42,7 +42,7 @@ async function run(): Promise<{ code: number, msg?: string }> {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await core.group('Prepare BuildTools', async (): Promise<void> => {
|
await core.group('Prepare BuildTools', async (): Promise<void> => {
|
||||||
return runCmd('java', ['-jar', 'BuildTools.jar', '--compile', 'NONE'],
|
return runCmd('java', ['-jar', 'BuildTools.jar', '--compile', 'NONE', (disableJavaCheck ? '--disable-java-check' : '')],
|
||||||
workingDir.cache, appLogFile);
|
workingDir.cache, appLogFile);
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
Loading…
Reference in New Issue