mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-13 17:49:25 +00:00
commit
6fc1236e43
1 file changed
+2
-2
+2
-2
@@ -14,8 +14,8 @@ let items = [
|
||||
let app = GildedRose(items: items);
|
||||
|
||||
var days = 2;
|
||||
if (Process.argc > 1) {
|
||||
days = Int(Process.arguments[1])! + 1
|
||||
if (CommandLine.argc > 1) {
|
||||
days = Int(CommandLine.arguments[1])! + 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user