mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-16 10:55:09 +00:00
Swift: Apply AppCode inspection "unnecessary parentheses"
This commit is contained in:
2 files changed
+17
-17
No files matched your search
@@ -15,7 +15,7 @@ let items = [
|
||||
let app = GildedRose(items: items);
|
||||
|
||||
var days = 2;
|
||||
if (CommandLine.argc > 1) {
|
||||
if CommandLine.argc > 1 {
|
||||
days = Int(CommandLine.arguments[1])! + 1
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user