From 1209a5a68cf673e03b866015e15aea2a272d3b3b Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Sun, 7 Jan 2018 10:53:52 -0600 Subject: [PATCH] Add "n" to excluded arguments for the `xcode` command Permits the usage of the `-n` flag to explicitly refuse opening the Xcode project after generating it, to match the `-y` flag for explicit approval. --- Sources/VaporToolbox/Xcode.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/VaporToolbox/Xcode.swift b/Sources/VaporToolbox/Xcode.swift index 619aa264..8247a61a 100644 --- a/Sources/VaporToolbox/Xcode.swift +++ b/Sources/VaporToolbox/Xcode.swift @@ -87,7 +87,7 @@ public final class Xcode: Command { // Setup passthrough let clean = arguments - .removeFlags(["clean", "run", "debug", "verbose", "fetch", "release", "y"]) + .removeFlags(["clean", "run", "debug", "verbose", "fetch", "release", "y", "n"]) buildFlags += clean .options .map { name, value in "--\(name)=\(value)" }