Skip to content

Commit

Permalink
Fixed dev app saving data on app list (#427)
Browse files Browse the repository at this point in the history
* Fixed `dev` app saving data on list

* Replaced Object.assign by spread
  • Loading branch information
lvcabral authored Dec 28, 2024
1 parent 3899a38 commit 2d9e30a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ function setupCurrentApp(filePath: string) {
currentApp.exitReason = dev.exitReason ?? AppExitReason.UNKNOWN;
currentApp.exitTime = dev.exitTime;
} else {
deviceData.appList.push(currentApp);
deviceData.appList.push({ ...currentApp });
}
}
} else {
Expand Down

0 comments on commit 2d9e30a

Please sign in to comment.