Skip to content
refs

fix(cli): add timeouts and atomic writes to the refs CLI

Aman Kumarcommitted Nov 20, 202661962d8parent 9227a6c

Network calls now time out. Credentials and git tokens are written through a temporary file and a rename, so a crash cannot leave a half-written file.

2 files changed · +173 −49
apps/cli/refs.mjs+126 −49
apps/cli/test/update.test.ts+47 −0