Skip to content
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

Use basename when converting deviation path to name #79

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

ridgek
Copy link
Contributor

@ridgek ridgek commented Sep 21, 2023

It is possible for the deviation argument to receive a path instead of a file name, such as --deviation=foo/ietf-network-deviation.yang.

To handle this correctly, the directory components are now removed using basename when converting the argument to a module name.

It is possible for the deviation argument to receive a path instead
of a file name, such as --deviation=foo/ietf-network-deviation.yang.

To handle this correctly, the directory components are now removed
using basename when converting the argument to a module name.
@carlgsmith carlgsmith merged commit 0649f54 into alliedtelesis:master Sep 22, 2023
1 check passed
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.

2 participants