Skip to content

Commit

Permalink
path issue
Browse files Browse the repository at this point in the history
Signed-off-by: Isaac Milarsky <[email protected]>
  • Loading branch information
IsaacMilarky committed Sep 24, 2024
1 parent 9d45f4e commit 5b1c955
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
if shutil.which('scc') is not None:
try:
#Run scc and load results into a dictionary
d = json.loads(subprocess.run(["scc", "--format","json2"],check=True, capture_output=True).stdout)
#assuming we are in the .git directory of the repo
d = json.loads(subprocess.run(["scc","..", "--format","json2"],check=True, capture_output=True).stdout)

#inject a default value for labor hours calculated from scc
cookiecutter(
Expand Down

0 comments on commit 5b1c955

Please sign in to comment.