Skip to content

Commit

Permalink
refactor(detector-aws): lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
david-luna committed Jul 12, 2024
1 parent 21f63a8 commit dc8804c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion metapackages/auto-instrumentations-node/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,11 @@ function getDisabledInstrumentationsFromEnv() {
export function getResourceDetectorsFromEnv(): Array<Detector | DetectorSync> {
const resourceDetectors = new Map<
string,
Detector | DetectorSync | Detector[] | DetectorSync[] | Array<Detector | DetectorSync>
| Detector
| DetectorSync
| Detector[]
| DetectorSync[]
| Array<Detector | DetectorSync>
>([
[RESOURCE_DETECTOR_CONTAINER, containerDetector],
[RESOURCE_DETECTOR_ENVIRONMENT, envDetectorSync],
Expand Down

0 comments on commit dc8804c

Please sign in to comment.