Skip to content

Commit 5ee2eea

Browse files
authored
Ignore node_modules when copying the TS code for deno (#32)
1 parent 6fb3136 commit 5ee2eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp_run_python/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def prepare_deno_env(
105105
try:
106106
src = Path(__file__).parent / 'deno'
107107
logger.debug('Copying from %s to %s...', src, cwd)
108-
shutil.copytree(src, cwd)
108+
shutil.copytree(src, cwd, ignore=shutil.ignore_patterns('node_modules'))
109109
logger.info('Installing dependencies %s...', dependencies)
110110

111111
args = 'deno', *_deno_install_args(dependencies)

0 commit comments

Comments
 (0)