Skip to content

Commit e491ae0

Browse files
authored
fix: install snyk globally in dev container (#200)
1 parent ab271a6 commit e491ae0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.submodules/setup/__main__.py

+10
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ class Submodule:
3232
url: str
3333

3434

35+
def install_required_packages():
36+
"""Installs packages required in our dev container."""
37+
subprocess.run(
38+
["npm", "install", "snyk", "-g"],
39+
check=True,
40+
)
41+
42+
3543
def print_intro():
3644
"""Prints the Code For Life logo with ascii art."""
3745
# short hand
@@ -386,6 +394,8 @@ def main() -> None:
386394
"""Entry point."""
387395
colorama_init()
388396

397+
install_required_packages()
398+
389399
print_intro()
390400

391401
submodules = read_submodules()

0 commit comments

Comments
 (0)