Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
demarey committed Jul 3, 2024
1 parent 7550aec commit 0c58f6a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions src/BaselineOfPharoLauncher/BaselineOfPharoLauncher.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ BaselineOfPharoLauncher >> baseline: spec [
self xmlParser: spec.
self clap: spec.
self objCBridge: spec.
self interactions: spec.

spec
package: 'PharoLauncher-100Compatibility';
Expand All @@ -26,6 +27,7 @@ BaselineOfPharoLauncher >> baseline: spec [
'OSSubprocess'
'OSWinSubprocess'
'Ston'
'Interactions'
'ObjCBridge'
'PharoLauncher-100Compatibility'). ];
package: 'PharoLauncher-Spec2' with: [
Expand Down Expand Up @@ -55,8 +57,8 @@ BaselineOfPharoLauncher >> baseline: spec [
'PharoLauncher-Tests-Core'
'PharoLauncher-Tests-Download'
'PharoLauncher-Core'
'PharoLauncher-Spec2'
'PharoLauncher-Spec2-Gtk'
'PharoLauncher-Spec2'
'PharoLauncher-Spec2-Gtk'
'PharoLauncher-Tests-SpecUI'
'PharoLauncher-Tests-Functional'
'PharoLauncher-CLI-Tests'
Expand Down
10 changes: 5 additions & 5 deletions src/PharoLauncher-Core/PhLImportImageCommand.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,18 @@ PhLImportImageCommand >> importImage [
| imageFile |
imageFile := self imagesPresenter newFileRequest
title: 'Import a Pharo image (will move image, changes file and pharo-local folder)';
extensionsToShow: #('image');
path: FileLocator home;
filter: '.image';
currentFolder: FileLocator home;
chooseFile.
imageFile ifNil: [
self imagesPresenter newInformation
self imagesPresenter newInformation
title: 'Import';
message: 'No path selected. Import failed.';
inform.
^ self ].
imageFile asFileReference isDirectory ifTrue: [
self imagesPresenter newInformation
title: 'Import';
self imagesPresenter newInformation
title: 'Import';
message: 'The file selected is a directory and not a Pharo image. Import failed.';
inform.
^ self ].
Expand Down

0 comments on commit 0c58f6a

Please sign in to comment.