Skip to content

Commit

Permalink
change sourcetext to not fail because of famix
Browse files Browse the repository at this point in the history
  • Loading branch information
badetitou committed May 18, 2020
1 parent 53ed074 commit 0662a0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FAST-Core-Model-Extension/FASTEntity.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ FASTEntity >> sourceText [
"I should be overriden in my users"

^ (self atScope: FamixTHasImmediateSource)
ifNotEmpty: [ :sources | sources anyOne source ]
ifEmpty: [ nil ]
ifNotEmpty: [ :sources | sources anyOne source ifNil: [ '' ] ]
ifEmpty: [ '' ]
]

0 comments on commit 0662a0c

Please sign in to comment.