Skip to content

Commit 2fdbb4d

Browse files
committed
Set a default value for the exclude and include lists in the merge xcode locs command
1 parent 2808aab commit 2fdbb4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LocMapper CLI/Commands/MergeXcodeLocs.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ struct MergeXcodeLocs : ParsableCommand {
3636
@OptionGroup var logOptions: LoggingOptions
3737

3838
@Option(help: "List of paths to exclude when reading the project.")
39-
var excludeList: [String]
39+
var excludeList: [String] = []
4040

4141
@Option(help: "List of paths to only include when reading the project.")
42-
var includeList: [String]
42+
var includeList: [String] = []
4343

4444
@Argument
4545
var rootFolder: String

0 commit comments

Comments
 (0)