Fix coding style
Some checks failed
openium/resgen.swift/pipeline/pr-master There was a failure building this commit

This commit is contained in:
2026-01-05 10:45:59 +01:00
parent 49e109908f
commit d4bc8b154b
2 changed files with 20 additions and 18 deletions

View File

@@ -16,12 +16,14 @@ struct GenerateOptions: ParsableArguments {
@Argument(help: "Configuration file.", transform: { $0.replaceTiltWithHomeDirectoryPath() }) @Argument(help: "Configuration file.", transform: { $0.replaceTiltWithHomeDirectoryPath() })
var configurationFile: String var configurationFile: String
@Option(help: "Project directory. It will be added to every relative path (path that does not start with `/`", @Option(
transform: { help: "Project directory. It will be added to every relative path (path that does not start with `/`",
if $0.last == "/" { transform: {
return $0 if $0.last == "/" {
return $0
}
return $0 + "/"
} }
return $0 + "/" )
})
var projectDirectory: String var projectDirectory: String
} }