I cannot figure out what the point of this line of code is... #1101
Unanswered
shawncrawley
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Take a look at this line of code:
tethys/tethys_cli/docker_commands.py
Line 990 in 32b20eb
Was this meant to detect linux vs Windows? I cannot determine what it would be for otherwise, since on a machine with unix paths the absolute path to that file itself should always start with "/". Part of me wondered if this was a mistake and instead of taking the abspath of
__file__it was supposed to be taking the abspath ofvalue.Beta Was this translation helpful? Give feedback.
All reactions