Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdpurcell committed Dec 12, 2024
1 parent fbc0f64 commit b32fac3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,8 @@ const run = async (): Promise<void> => {
core.exportVariable("QML2_IMPORT_PATH", path.resolve(qtPath, "qml"));
if (requiresParallelDesktop) {
const qmakePath = path.resolve(qtPath, "bin", "qmake");
const queryResult = await getExecOutput(`${qmakePath} -query QT_HOST_PREFIX`).catch(() => null);
const queryResult = await getExecOutput(`${qmakePath} -query QT_HOST_PREFIX`)

Check failure on line 479 in action/src/main.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `.catch(`
.catch(() => null);

Check failure on line 480 in action/src/main.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `.catch(()·=>·null` with `()·=>·null⏎········`
if (queryResult?.exitCode === 0) {
core.exportVariable("QT_HOST_PATH", path.normalize(queryResult.stdout.trim()));
}
Expand Down

0 comments on commit b32fac3

Please sign in to comment.