mirror of
https://github.com/NixOS/nix
synced 2025-06-30 15:48:00 +02:00
Merge pull request #12765 from Mic92/clan-tidy-cleanups
Add various clang tidy fixes
This commit is contained in:
commit
4de73df8bf
5 changed files with 5 additions and 3 deletions
|
@ -245,7 +245,7 @@ LocalStore::LocalStore(
|
|||
else if (curSchema == 0) { /* new store */
|
||||
curSchema = nixSchemaVersion;
|
||||
openDB(*state, true);
|
||||
writeFile(schemaPath, fmt("%1%", nixSchemaVersion), 0666, true);
|
||||
writeFile(schemaPath, fmt("%1%", curSchema), 0666, true);
|
||||
}
|
||||
|
||||
else if (curSchema < nixSchemaVersion) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue