Add newline at end of lockfile
Suggested by @grahamc.
This commit is contained in:
parent
cb5ebc5c11
commit
455aa8d9ea
2 changed files with 2 additions and 2 deletions
|
@ -6,4 +6,4 @@
|
|||
}
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
|
|
|
@ -121,7 +121,7 @@ void writeLockFile(const LockFile & lockFile, const Path & path)
|
|||
for (auto & x : lockFile.flakeEntries)
|
||||
json["requires"][x.first.to_string()] = flakeEntryToJson(x.second);
|
||||
createDirs(dirOf(path));
|
||||
writeFile(path, json.dump(4)); // '4' = indentation in json file
|
||||
writeFile(path, json.dump(4) + "\n"); // '4' = indentation in json file
|
||||
}
|
||||
|
||||
std::shared_ptr<FlakeRegistry> getGlobalRegistry()
|
||||
|
|
Loading…
Reference in a new issue