Skip to content

Commit 0662a0c

Browse files
committed
change sourcetext to not fail because of famix
1 parent 53ed074 commit 0662a0c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/FAST-Core-Model-Extension/FASTEntity.extension.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ FASTEntity >> sourceText [
4343
"I should be overriden in my users"
4444

4545
^ (self atScope: FamixTHasImmediateSource)
46-
ifNotEmpty: [ :sources | sources anyOne source ]
47-
ifEmpty: [ nil ]
46+
ifNotEmpty: [ :sources | sources anyOne source ifNil: [ '' ] ]
47+
ifEmpty: [ '' ]
4848
]

0 commit comments

Comments
 (0)