Merge pull request #44 from rickerbh/swift3

Updated for Swift 3
This commit is contained in:
Emily Bache 2016-09-22 21:20:29 +02:00 committed by GitHub
commit 6fc1236e43

View File

@ -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
}