Skip to content

Commit ceee91f

Browse files
author
Daniel Bot
committed
chore: support only node 18
1 parent 956f779 commit ceee91f

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [14.x, 18.x]
19+
node-version: [18.x]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

2222
steps:

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3
1313
with:
14-
node-version: 14
14+
node-version: 18
1515
- run: npm ci
1616
- run: npm test
1717

src/correlation.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ const asyncLocalStorage = new AsyncLocalStorage();
1515

1616
const CORRELATION_KEY = '__X_POWERTOOLS_CORRELATION_IDS__';
1717

18-
export const enableCorrelationIds = (props?: CorrelationProps) => {
19-
return {
18+
export const enableCorrelationIds = (props?: CorrelationProps) => { return {
2019
before: (handler: middy.Request) => {
2120
if (!props || props.awsDefaults === true) {
2221
const event = handler.event as SupportedEventTypes;

0 commit comments

Comments
 (0)