Skip to content

Fix NPM tarball extraction leaving 'package' directory in CWD - #397

Open
rokycz wants to merge 1 commit into
Commonjava:mainfrom
rokycz:MMENG-3907
Open

Fix NPM tarball extraction leaving 'package' directory in CWD#397
rokycz wants to merge 1 commit into
Commonjava:mainfrom
rokycz:MMENG-3907

Conversation

@rokycz

@rokycz rokycz commented Aug 5, 2026

Copy link
Copy Markdown

extract_npm_tarball() called tgz.extractall() without a target path, which extracted into the current working directory instead of the designated temp directory. Updated to extract into target_dir and adjusted all subsequent file path references accordingly.

Fixes #187

extract_npm_tarball() called tgz.extractall() without a target path,
which extracted into the current working directory instead of the
designated temp directory. Updated to extract into target_dir and
adjusted all subsequent file path references accordingly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NPM pushes create and leave a 'package' directory

1 participant