Skip to content

Commit

Permalink
Add "n" to excluded arguments for the xcode command
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gwynne authored Jan 7, 2018
1 parent 86fc3f8 commit 1209a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/VaporToolbox/Xcode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)" }
Expand Down

0 comments on commit 1209a5a

Please sign in to comment.