Skip to content

changed pathName to asString, Fixes #17611 #18013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: Pharo13
Choose a base branch
from

Conversation

sanyakapoor27
Copy link
Contributor

Fixes #17611

  • changed undefined pathName to asString

@@ -204,7 +204,7 @@ MCFileTreeAbstractReader >> packageProperties [
on: Error
do: [ :ex |
SystemNotification signal:
'Error reading package properties (.filetree): ' , packageDirectory pathName , ' :: ' , ex description ] ] ] ].
'Error reading package properties (.filetree): ' , packageDirectory asString , ' :: ' , ex description ] ] ] ].
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'Error reading package properties (.filetree): ' , packageDirectory asString , ' :: ' , ex description ] ] ] ].
'Error reading package properties (.filetree): ' , packageDirectory pathString , ' :: ' , ex description ] ] ] ].

I suggest to use #pathString instead because the print is more readable than #asString. In case of relative path, #asString will not print the full path for example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MCFileTreeAbstractReader>>#packageProperties is sending unknown message pathName
2 participants