Skip to content

Fix logLevelMapping typo and configuration route log message - #45

Open
Avicennasis wants to merge 1 commit into
afterpay:masterfrom
TypoScan3000:docs/fix-typos
Open

Avicennasis wants to merge 1 commit into
afterpay:masterfrom
TypoScan3000:docs/fix-typos

Conversation

@Avicennasis

Copy link
Copy Markdown

Summary of Changes

  • src/Logger.ts: renamed the module-private constant logLevelMappping to logLevelMapping. It is not exported, and all four references are in that file.
  • src/routes/configuration.ts: the configuration handler logged its upstream response as 'Checkout response', a label copied from src/routes/checkout.ts. It now logs 'Configuration response', matching the handler's other log lines (Configuration request options, Configuration request error).

Items of Note

The only runtime-visible change is the text of one LOGGER.info message. The renamed constant is file-local.

- src/Logger.ts: rename the module-private logLevelMappping constant to
  logLevelMapping (not exported; all four references updated).
- src/routes/configuration.ts: the configuration handler logged its
  response as 'Checkout response', copied from the checkout route.

Signed-off-by: Léon Avic Simmons <Avicennasis@gmail.com>
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

This branch has not been deployed

No deployments
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.

2 participants