Skip to content

Commit

Permalink
[Bug]: Unify Baseline Name Handling
Browse files Browse the repository at this point in the history
  • Loading branch information
seandenigris committed Aug 29, 2024
1 parent a221972 commit 49117cd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/SmallWorld-Core/SmallBaselineLoadScript.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SmallBaselineLoadScript >> baselineClass [

{ #category : #accessing }
SmallBaselineLoadScript >> baselineName [
^ baselineName ifNil: [ self project name copyWithout: Character space ]
^ baselineName ifNil: [ self project name select: #isAlphaNumeric ]
]

{ #category : #accessing }
Expand Down
6 changes: 0 additions & 6 deletions src/SmallWorld-Core/SmallProject.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,6 @@ SmallProject >> baselineLoadSnippet [
#repoURL -> self repository directDownloadURL } asDictionary
]

{ #category : #baselines }
SmallProject >> baselineName [

^ self name select: #isLetter
]

{ #category : #magritte }
SmallProject >> cloneConsoleDescription [
<magritteActionDescription>
Expand Down
2 changes: 1 addition & 1 deletion src/SmallWorld-Core/SmallSmalltalkSton.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SmallSmalltalkSton >> currentContents [
SmallSmalltalkSton >> desiredContents [

^ self template format: {
#baseline -> self project baselineName.
#baseline -> self project loadScript baselineName.
#codeSubfolder -> self project repository codeSubfolder } asDictionary.
]

Expand Down

0 comments on commit 49117cd

Please sign in to comment.