chore: migrate from pedantic to lints package

This commit is contained in:
Aleksey Kulikov 2021-07-20 16:59:26 +03:00
parent 2c28fddcec
commit 145af3054d
6 changed files with 8 additions and 7 deletions

View file

@ -365,9 +365,9 @@ void setWorkdir(
bool updateGitlink,
) {
final workdir = path.toNativeUtf8().cast<Int8>();
final update_gitlink = updateGitlink ? 1 : 0;
final updateGitlinkC = updateGitlink ? 1 : 0;
final error =
libgit2.git_repository_set_workdir(repo, workdir, update_gitlink);
libgit2.git_repository_set_workdir(repo, workdir, updateGitlinkC);
calloc.free(workdir);
if (error < 0) {