Skip to content

Commit

Permalink
Remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
demosjarco committed Sep 14, 2022
1 parent 34528d5 commit 55c7f94
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions setupScripts/preSetupCf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@ def __init__(self, isSudo) -> None:
self.isSudo = isSudo

def installMkDocsDeps(self) -> None:
testCommand1 = f'{self.isSudo == True and "" or "sudo"} apt update'
print('RUNNING:', testCommand1)
os.system(testCommand1)
testCommand2 = f'{self.isSudo == True and "" or "sudo"} apt install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev'
print('RUNNING:', testCommand2)
os.system(testCommand2)
os.system(f'{self.isSudo == True and "" or "sudo"} apt update')
os.system(f'{self.isSudo == True and "" or "sudo"} apt install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev')
def npmCi(self, production:bool = False) -> None:
npmCiAttempt = subprocess.run(["npm", "ci", f"--production={production == True and 'true' or 'false'}"], capture_output=True, check=True, text=True)
print(npmCiAttempt.stdout, flush=True)
Expand Down

0 comments on commit 55c7f94

Please sign in to comment.