You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
well one can run into this issue very easily when e.g. a bad code subdirectory is specified in baseline. And considering the error message is withSqueakLineEndings was sent to nil it is not the most obvious thing to fix. I've ran into this maybe five times this year and every time I see it I am confused for a bit.
So alternative to fixing the code could be providing meaningful error message.
https://github.com/dalehenrich/filetree/blob/pharo6.0_dev/repository/MonticelloFileTree-Core.package/MCFileTreeStCypressReader.class/instance/addClassAndMethodDefinitionsFromEntry..st#L8
When
README.md
is missing in the folder, thenclassComment
will stay uninitialized and then will fail when specifying commentself addClassDefinitionFrom: classPropertiesDict comment: classComment withSqueakLineEndings.
maybe a fix would be to just add to the beginning of the method
classComment := ''
, or changing the retrieval to soemthing likeThe text was updated successfully, but these errors were encountered: