mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-20 11:38:51 +00:00
0605e996c9
The `readFromBoot` function replaced calls to readFile in the codebase when the target location is under `/mnt/boot` in order to use `fatrw` to check for corruption. Unfortunately this function behaved a little differently with regards to errors. While `readFile` returns a code `ENOENT` when the file is not found, `readFromBoot` would just throw an exception with whatever code was given by fatrw. This would cause confusion for some calls that were behaving differently with a `ENOENT`, causing some issues. Closes: #2071 Change-type: patch |
||
---|---|---|
.. | ||
api-binder | ||
compose | ||
config | ||
device-api | ||
device-state | ||
lib | ||
logging | ||
migrations | ||
types | ||
app.ts | ||
db.ts | ||
device-config.ts | ||
device-state.ts | ||
event-bus.ts | ||
event-tracker.ts | ||
host-config.ts | ||
local-mode.ts | ||
logger.ts | ||
network.ts | ||
proxyvisor.js | ||
supervisor.ts |