Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.1.18 #76

Merged
merged 2 commits into from
Jan 29, 2025
Merged

0.1.18 #76

merged 2 commits into from
Jan 29, 2025

Conversation

jakelazaroff
Copy link
Contributor

No description provided.

@@ -73,8 +73,7 @@ class NpmPackageRepo implements PackageRepo {
repoName = 'npm'

gatherPackages(): Package[] {
const scriptDir = __dirname
const jsDir = path.join(scriptDir, '..', 'javascript')
const jsDir = path.join(import.meta.dirname, '..', 'javascript')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import.meta does not have a dirname property. Use path.dirname(url.fileURLToPath(import.meta.url)) to get the directory name of the current module.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jakelazaroff jakelazaroff merged commit a23584b into main Jan 29, 2025
5 checks passed
@jakelazaroff jakelazaroff deleted the 0.1.18 branch January 29, 2025 16:20
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.

3 participants