Skip to content

Commit e55da21

Browse files
committed
Fix linting
1 parent 7972959 commit e55da21

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

deno.json

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"lineWidth": 200,
77
"exclude": ["README.md"]
88
},
9+
"lint": {
10+
"rules": {
11+
"exclude": ["no-node-globals"]
12+
}
13+
},
914
"publish": {
1015
"exclude": [
1116
".github",

mod.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,10 @@ export function getCurrentVersion(): string | undefined {
276276
case Product.Bun:
277277
// @ts-ignore Runtime detection
278278
return process.versions.bun;
279-
default:
279+
default: {
280280
const userAgent = globalThis.navigator?.userAgent;
281281
return getVersionFromUserAgent(userAgent);
282+
}
282283
}
283284
}
284285

0 commit comments

Comments
 (0)