-
Notifications
You must be signed in to change notification settings - Fork 64
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
sam ls --script #571
Comments
After this PR:
Still a problem with the --relative-path option when there is no 'dir' indicated in the command line. |
great |
And the bug of the relative-path explained above is fixed with the following commit: e5b8a06 |
Does it still work if the user provides "." in input? |
It still works if the user provides "." in input. |
No, I mean:
|
I think we should keep the relative path given by the user, since the way we implement the --relative-path uses the Item.getFolder() method. If the browse is done with an absolute path, the Item.getFolder() will return an absolute path. Else, it will return a relative path which can be used to display the item. |
Ok, my point was just to ensure that these 2 command lines give the same results: |
Ok I understand. It seems to be the case with my tests. |
Instead of
--relative-path
has no impact.In that case the folder is not printed.
Tested with v0.13.0.
The text was updated successfully, but these errors were encountered: