Skip to content

Commit 02f892c

Browse files
fix(lock): Truncates file properly
In my testing I found out that if you try to write the lockfile twice (a common practice if you want to make sure the right data is there in case of a failure) it wouldn't truncate properly. This fixes the issue and adds that test to our test cases Signed-off-by: Taylor Thomas <taylor@cosmonic.com>
1 parent f9e34dd commit 02f892c

File tree

3 files changed

+118
-82
lines changed

3 files changed

+118
-82
lines changed

0 commit comments

Comments
 (0)