Fix gitolite config incrementally adding more and more new lines

This commit is contained in:
2020-11-03 16:24:29 +01:00
parent a5efb1e8cd
commit acfdc33789

View File

@@ -110,7 +110,7 @@ class Configuration {
$new_config .= $line . "\n";
}
file_put_contents($this->config_file, $new_config);
file_put_contents($this->config_file, trim($new_config) . "\n");
}
protected function getNonPhabtricatorUsers($configuration_value) {