-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #58: existence check for session description file [ci skip]
- Loading branch information
1 parent
a19ec39
commit 1007291
Showing
3 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
10 changes: 9 additions & 1 deletion
10
...mmandLine.package/GsDevKitAbstractCommandLineHandler.class/instance/sessionDescription.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
accessing | ||
sessionDescription | ||
^ TDSessionDescription importFrom: (self sessionDescriptionHome / self stoneName) pathString | ||
| sessionDescriptionReference | | ||
sessionDescriptionReference := self sessionDescriptionHome / self stoneName. | ||
sessionDescriptionReference exists | ||
ifFalse: [ | ||
self | ||
error: | ||
'Session description file ' , sessionDescriptionReference pathString printString , ' for ' , self stoneName printString | ||
, ' not found.' ]. | ||
^ TDSessionDescription importFrom: sessionDescriptionReference pathString |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.