Skip to content

Commit

Permalink
Checks for CI env and defaults to no-open (tuist#6652)
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaytholpadi authored Aug 21, 2024
1 parent 2e198e6 commit b8aaf84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TuistKit/Commands/GenerateCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public struct GenerateCommand: AsyncParsableCommand, HasTrackableParameters {
help: "Don't open the project after generating it.",
envKey: .generateOpen
)
var open: Bool = true
var open: Bool = !CIChecker().isCI()

@Flag(
help: "Ignore binary cache and use sources only.",
Expand Down

0 comments on commit b8aaf84

Please sign in to comment.