Fix coding style
Some checks failed
openium/resgen.swift/pipeline/pr-master There was a failure building this commit
Some checks failed
openium/resgen.swift/pipeline/pr-master There was a failure building this commit
This commit is contained in:
@@ -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(
|
||||||
|
help: "Project directory. It will be added to every relative path (path that does not start with `/`",
|
||||||
transform: {
|
transform: {
|
||||||
if $0.last == "/" {
|
if $0.last == "/" {
|
||||||
return $0
|
return $0
|
||||||
}
|
}
|
||||||
return $0 + "/"
|
return $0 + "/"
|
||||||
})
|
}
|
||||||
|
)
|
||||||
var projectDirectory: String
|
var projectDirectory: String
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user