Skip to content

Conversation

@paulk-asert
Copy link
Contributor

When running ./mvx demo PosixCommandsRegistryExample and invoking the ls / command, the following error occurs (at least on macOS):

Error: Cannot invoke "java.nio.file.Path.toString()" because the return value of "java.nio.file.Path.getFileName()" is null

The JavaDoc for Path#getFileName says it can return null. With this PR, the command works as expected, showing the files in the root directory.

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.

1 participant