Skip to content

Commit

Permalink
Fix error after flashing because of wrong build types
Browse files Browse the repository at this point in the history
  • Loading branch information
pkendall64 committed Jun 25, 2023
1 parent 3623067 commit b2dc465
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/api/src/services/BinaryFlashingStrategy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -605,10 +605,7 @@ export default class BinaryFlashingStrategyService implements FlashingStrategy {
);
}

if (
params.type === BuildJobType.BuildAndFlash ||
params.type === BuildJobType.ForceFlash
) {
if (params.type === BuildJobType.Flash) {
return new BuildFlashFirmwareResult(true, '');
}

Expand Down

0 comments on commit b2dc465

Please sign in to comment.