Skip to content

Commit

Permalink
Merge pull request chocolatey-archive#104 from btoonk/bug/master/MODU…
Browse files Browse the repository at this point in the history
…LES-7068

MODULES-7068 Only initialise constant when not defined
  • Loading branch information
michaeltlombardi authored Jan 10, 2019
2 parents b22738e + 27ab03e commit ebe053f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/puppet_x/chocolatey/chocolatey_common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ module Chocolatey
module ChocolateyCommon

## determines if C# version of choco
FIRST_COMPILED_CHOCO_VERSION = '0.9.9.0'
MINIMUM_SUPPORTED_CHOCO_VERSION_EXIT_CODES = '0.9.10.0'
MINIMUM_SUPPORTED_CHOCO_UNINSTALL_SOURCE = '0.9.10.0'
FIRST_COMPILED_CHOCO_VERSION = '0.9.9.0' unless defined? FIRST_COMPILED_CHOCO_VERSION
MINIMUM_SUPPORTED_CHOCO_VERSION_EXIT_CODES = '0.9.10.0' unless defined? MINIMUM_SUPPORTED_CHOCO_VERSION_EXIT_CODES
MINIMUM_SUPPORTED_CHOCO_UNINSTALL_SOURCE = '0.9.10.0' unless defined? MINIMUM_SUPPORTED_CHOCO_UNINSTALL_SOURCE

def file_exists?(path)
File.exist?(path)
Expand Down

0 comments on commit ebe053f

Please sign in to comment.