Skip to content

Commit

Permalink
No need to use os.path.relpath() when Path() knows everything anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinb committed Nov 23, 2024
1 parent a239606 commit 358db3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama_stack/cli/stack/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from llama_stack.distribution.resolver import InvalidProviderError
from llama_stack.distribution.utils.dynamic import instantiate_class_type

TEMPLATES_PATH = Path(os.path.relpath(__file__)).parent.parent.parent / "templates"
TEMPLATES_PATH = Path(__file__).parent.parent.parent / "templates"


@lru_cache()
Expand Down

0 comments on commit 358db3c

Please sign in to comment.