-
Notifications
You must be signed in to change notification settings - Fork 491
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
nbdev_update_lib errors out when fname not supplied #415
Comments
edit: found the link, but I cannot reproduce your error. I'm pretty sure you need to ugprade nbdev pip install -U git+https://github.com/fastai/nbdev.git |
If upgrading doesn't fix it for you will be happy to reopen this issue please let me know. |
The problem still persists, I already have the latest version of nbdev I think we need to add a None checker before the if statement in the code. If the default of fname is None and you execute the if statement fname.endswith, it will cause the error seen above. |
Thanks. I was testing the wrong command! I was testing |
Thank you sir! 💯 |
nbdev/nbdev/sync.py
Line 126 in f8d6ed2
When doing nbdev_update_lib without specifying the optional fname argument, it fails with an error as shown below instead of traversing the lib path directory.
The text was updated successfully, but these errors were encountered: