Skip to content

Commit

Permalink
Issue #58: existence check for session description file [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
dalehenrich committed Mar 22, 2015
1 parent a19ec39 commit 1007291
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
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
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"productsHome" : "dkh 7/17/2014 16:14",
"runShellCommand:args:" : "dkh 3/20/2015 12:08",
"runShellCommand:args:noError:" : "dkh 3/20/2015 12:08",
"sessionDescription" : "dkh 7/19/2014 17:40",
"sessionDescription" : "dkh 3/22/2015 08:48",
"sessionDescriptionHome" : "dkh 2/17/2015 10:54",
"stoneInfoFilename" : "dkh 7/18/2014 08:29",
"stoneName" : "dkh 7/19/2014 17:40",
Expand Down
Loading

0 comments on commit 1007291

Please sign in to comment.