Skip to content

Commit

Permalink
ExitCode variable renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
b0urb4k1 committed Mar 26, 2017
1 parent 31751b1 commit cd7a2aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/FakeLib/TargetHelper.fs
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,8 @@ let WriteTaskTimeSummary total =

module ExitCode =
let exitCode = ref 0
let mutable exitCodeValue = 42
let private changeExitCodeIfErrorOccured() = if errors <> [] then Environment.ExitCode <- ExitCode.exitCodeValue; ExitCode.exitCode := ExitCode.exitCodeValue
let mutable Value = 42
let private changeExitCodeIfErrorOccured() = if errors <> [] then Environment.ExitCode <- ExitCode.Value; ExitCode.exitCode := ExitCode.Value

/// [omit]
let isListMode = hasBuildParam "list"
Expand Down

0 comments on commit cd7a2aa

Please sign in to comment.