Skip to content

Commit

Permalink
Remove direct references to OS Platform
Browse files Browse the repository at this point in the history
  • Loading branch information
gcotelli committed Sep 19, 2023
1 parent e9ce566 commit 6240a91
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ LaunchpadRootCommandTest >> handle: arguments onExitDo: aBlock [
{ #category : #private }
LaunchpadRootCommandTest >> set: environmentVariableName to: value during: aBlock [

OSPlatform current environment at: environmentVariableName put: value.
aBlock ensure: [ OSPlatform current environment removeKey: environmentVariableName ]
LanguagePlatform current os environment at: environmentVariableName put: value.
aBlock ensure: [ LanguagePlatform current os environment removeKey: environmentVariableName ]
]

{ #category : #running }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Class {
{ #category : #private }
ConfigurationFromEnvironmentProviderTest >> set: environmentVariableName to: value during: aBlock [

OSPlatform current environment at: environmentVariableName put: value.
aBlock ensure: [ OSPlatform current environment removeKey: environmentVariableName ]
LanguagePlatform current os environment at: environmentVariableName put: value.
aBlock ensure: [ LanguagePlatform current os environment removeKey: environmentVariableName ]
]

{ #category : #tests }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ConfigurationFromEnvironmentProvider >> reloadConfiguration [
{ #category : #resolving }
ConfigurationFromEnvironmentProvider >> valueFor: aConfigurationParameter ifFound: aPresentBlock ifNone: aFailBlock [

^ OSPlatform current
^ LanguagePlatform current os
environmentAt: aConfigurationParameter environmentVariableName
ifPresent: aPresentBlock
ifAbsent: [
Expand Down

0 comments on commit 6240a91

Please sign in to comment.