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

chore(server): use fs readsync instead of js import for reading package.json #6692

Merged
merged 1 commit into from
Jan 27, 2024

Conversation

danieldietzler
Copy link
Member

Picks up #6690.

Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9d839a2
Status: ✅  Deploy successful!
Preview URL: https://1e7a1282.immich.pages.dev
Branch Preview URL: https://chore-remove-json-imports.immich.pages.dev

View logs

Copy link
Contributor

@jrasm91 jrasm91 left a comment

Choose a reason for hiding this comment

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

Let's use __dirname instead of cwd

@danieldietzler
Copy link
Member Author

@martabal will this work with the AIO image? Is the package.json right under the workdir there as well?

@martabal
Copy link
Member

Yep, just like upstream :)

@jrasm91 jrasm91 merged commit e933383 into main Jan 27, 2024
24 of 25 checks passed
@jrasm91 jrasm91 deleted the chore/remove-json-imports branch January 27, 2024 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants