mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
change "Fields" query parameter to array (#1733)
* change "Fields" query parameter to array * platformToTarget.key() -> to array
This commit is contained in:
committed by
GitHub
parent
9dad934a40
commit
2c546867a8
@@ -15,9 +15,9 @@ const __dirname = path.dirname(__filename);
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
||||
export default async function afterAllArtifactBuild(buildResult) {
|
||||
// Check if this build includes Linux as a target
|
||||
const isLinux = buildResult.platformToTargets
|
||||
.keys()
|
||||
.some((platform) => platform.name === 'linux');
|
||||
const isLinux = Array.from(buildResult.platformToTargets.keys()).some(
|
||||
(platform) => platform.name === 'linux',
|
||||
);
|
||||
|
||||
if (isLinux) {
|
||||
const updateScriptPath = path.join(__dirname, 'update-app-stream.mjs');
|
||||
|
||||
Reference in New Issue
Block a user