Skip to content

Commit

Permalink
fix: remove subpath
Browse files Browse the repository at this point in the history
  • Loading branch information
Netail committed May 24, 2024
1 parent fc23083 commit 591bb0a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
18 changes: 0 additions & 18 deletions packages/opentelemetry-host-metrics/global.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/opentelemetry-host-metrics/src/stats/si.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// Import from network file directly as importing from the root imports the /lib/cpu file,
// resulting in also having to add osx-temperature-sensor as a dependency for macOS,
// while /lib/cpu isn't even used by this package (deep-importing not working as expected)
import { networkStats } from 'systeminformation/lib/network';
import { networkStats } from 'systeminformation';
import type { Systeminformation } from 'systeminformation';

export function getNetworkData() {
Expand Down
3 changes: 1 addition & 2 deletions packages/opentelemetry-host-metrics/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
},
"include": [
"src/**/*.ts",
"test/**/*.ts",
"global.d.ts"
"test/**/*.ts"
]
}

0 comments on commit 591bb0a

Please sign in to comment.