Skip to content

Commit

Permalink
fix possible loops when trying to set a var used as origin and conver…
Browse files Browse the repository at this point in the history
…t it to a locator.
  • Loading branch information
demarey committed Jul 9, 2020
1 parent 1bb8355 commit 7ec0116
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ PhLDirectoryBasedImageRepository class >> locationString [

{ #category : #accessing }
PhLDirectoryBasedImageRepository class >> locationString: aDirectoryString [
^ self location: aDirectoryString asFileLocatorOrReference
^ self location: aDirectoryString asFileReference
]

{ #category : #private }
Expand Down
2 changes: 1 addition & 1 deletion src/PharoLauncher-Core/PhLTemplateSources.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ PhLTemplateSources class >> launcherCoreDir [

{ #category : #accessing }
PhLTemplateSources class >> launcherCoreDir: aFileUrl [
LauncherCoreDir := aFileUrl asFileLocatorOrReference.
LauncherCoreDir := aFileUrl asFileReference.
LauncherCoreDir ensureCreateDirectory
]

Expand Down
2 changes: 1 addition & 1 deletion src/PharoLauncher-Core/PhLVirtualMachineManager.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ PhLVirtualMachineManager class >> vmStore [

{ #category : #accessing }
PhLVirtualMachineManager class >> vmStore: anObject [
vmStore := anObject asFileLocatorOrReference.
vmStore := anObject asFileReference.
vmStore ensureCreateDirectory
]

Expand Down
2 changes: 1 addition & 1 deletion src/PharoLauncher-Spec2/PharoLauncherApplication.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ PharoLauncherApplication class >> initializationScriptsDirectory [
{ #category : #accessing }
PharoLauncherApplication class >> initializationScriptsDirectory: aFileUrl [
| directory |
directory := aFileUrl asFileLocatorOrReference.
directory := aFileUrl asFileReference.
self default scriptsDirectory: directory.
^ directory ensureCreateDirectory

Expand Down

0 comments on commit 7ec0116

Please sign in to comment.