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

Bugfix app name and version not appearing from directly invoking node #229

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

jujaga
Copy link
Member

@jujaga jujaga commented Nov 21, 2023

Description

Previously we depended on an NPM wrapper to populate those values. Since invoking the application directly with node bypasses the wrapper, those values are no longer populated. This commit ensures that we draw the right values from the package.json file directly.

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have read the CONTRIBUTING doc
  • I have checked that unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

@jujaga jujaga added the bug Something isn't working label Nov 21, 2023
@jujaga jujaga self-assigned this Nov 21, 2023
Copy link

codeclimate bot commented Nov 21, 2023

Code Climate has analyzed commit 29387a9 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 64.7% (0.0% change).

View more on Code Climate.

Copy link

Coverage Report

Totals Coverage
Statements: 58.18% ( 2665 / 4581 )
Methods: 48.4% ( 303 / 626 )
Lines: 64.79% ( 1601 / 2471 )
Branches: 51.28% ( 761 / 1484 )

Previously we depended on an NPM wrapper to populate those values. Since
invoking the application directly with node bypasses the wrapper, those
values are no longer populated. This commit ensures that we draw the right
values from the package.json file directly.

Signed-off-by: Jeremy Ho <jujaga@gmail.com>
@TimCsaky TimCsaky merged commit b06c49e into master Nov 23, 2023
16 checks passed
@TimCsaky TimCsaky deleted the bugfix/rootapp branch November 23, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants