File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Plugins/SwiftLintBuildToolPlugin Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1010
1111* SwiftLint now requires macOS 13 or higher to run.
1212 [ JP Simard] ( https://github.com/jpsim )
13+
14+ * In ` SwiftLintBuildToolPlugin ` , print the content of the ` BUILD_WORKSPACE_DIRECTORY `
15+ environment variable only in debug builds.
16+ [ SimplyDanny] ( https://github.com/SimplyDanny )
17+ [ #6135 ] ( https://github.com/realm/SwiftLint/issues/6135 )
1318
1419### Experimental
1520
Original file line number Diff line number Diff line change @@ -50,7 +50,9 @@ struct SwiftLintBuildToolPlugin: BuildToolPlugin {
5050 return [ ]
5151 }
5252 // Outputs the environment to the build log for reference.
53+ #if DEBUG
5354 print ( " Environment: " , environment)
55+ #endif
5456 let arguments : [ String ] = [
5557 " lint " ,
5658 " --quiet " ,
You can’t perform that action at this time.
0 commit comments