diff --git a/experimental/packages/sdk-logs/src/export/SimpleLogRecordProcessor.ts b/experimental/packages/sdk-logs/src/export/SimpleLogRecordProcessor.ts index 1b5ea012ac..7b8b4a5338 100644 --- a/experimental/packages/sdk-logs/src/export/SimpleLogRecordProcessor.ts +++ b/experimental/packages/sdk-logs/src/export/SimpleLogRecordProcessor.ts @@ -62,6 +62,7 @@ export class SimpleLogRecordProcessor implements LogRecordProcessor { () => { // Using TS Non-null assertion operator because exportPromise could not be null in here // if waitForAsyncAttributes is not present this code will never be reached + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion this._unresolvedExports.delete(exportPromise!); return doExport(); }, diff --git a/package-lock.json b/package-lock.json index 36bf2b7665..490d403d43 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4713,6 +4713,7 @@ "@babel/core": "7.23.6", "@opentelemetry/api": ">=1.4.0 <1.8.0", "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/resources_1.9.0": "npm:@opentelemetry/resources@1.9.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -42113,6 +42114,7 @@ "@opentelemetry/api-logs": "0.46.0", "@opentelemetry/core": "1.19.0", "@opentelemetry/resources": "1.19.0", + "@opentelemetry/resources_1.9.0": "npm:@opentelemetry/resources@1.9.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20",