-
Notifications
You must be signed in to change notification settings - Fork 26
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
Executing expand.py from outer dir #98
base: master
Are you sure you want to change the base?
Executing expand.py from outer dir #98
Conversation
@@ -43,14 +44,14 @@ | |||
'scc': ('internal_scc',), | |||
'segtree': ('internal_bit', 'internal_type_traits',), | |||
'twosat': ('internal_scc',), } | |||
src_path = 'src/' | |||
src_path = pathlib.Path(sys.argv[0]).parent.joinpath('src') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
execution from .
also success
% python3 ${HOME}/src/github.com/rust-lang-ja/ac-library-rs/expand.py segtree | pbcopy
%
Expanders do not affect language update; triaged as low priority. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the conflicts.
I'm sorry for late response. |
@haruyama480 Thanks for fixing, I'm reviewing when I have a time. By the way did you pushed the last commit 2d270b8 by mistake? |
expand.py
could fail when execution from outer directory.It can be solved with reference of
argv[0]