Skip to content

Commit 7b74e3c

Browse files
committed
fix: Misc
1 parent 959d641 commit 7b74e3c

6 files changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v4
2323
- uses: denoland/setup-deno@v2
24-
- run: deno test --import-map test_import_map.json -A --doc
24+
- run: deno test --import-map test_import_map.json -A

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020-2024 the denosaurs team
3+
Copyright (c) 2020-2025 the denosaurs team
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,4 @@ Pull request, issues and feedback are very welcome. Code style is formatted with
142142

143143
### Licence
144144

145-
Copyright 2020-2024, the denosaurs team. All rights reserved. MIT license.
145+
Copyright 2020-2025, the denosaurs team. All rights reserved. MIT license.

download.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@ import {
3434
*
3535
* This should match the {@link Deno.build.arch} type.
3636
*/
37-
export const ALL_ARCHS: (typeof Deno.build.arch)[] = [
38-
"x86_64",
39-
"aarch64",
40-
];
37+
export const ALL_ARCHS: (typeof Deno.build.arch)[] = ["x86_64", "aarch64"];
4138

4239
/**
4340
* A list of all possible system operating systems.

test_import_map.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@std/assert": "jsr:@std/assert@^1",
99
"@std/encoding/hex": "jsr:@std/encoding@^1/hex",
1010
"@std/fmt/colors": "jsr:@std/fmt@^1/colors",
11-
"@std/fs": "jsr:@std/fs@^0.221.0",
11+
"@std/fs": "jsr:@std/fs@^1",
1212
"@std/path": "jsr:@std/path@^1"
1313
}
1414
}

util.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ function baseUrlToFilename(url: URL): string {
4242
*/
4343
export function stringToURL(url: string): URL {
4444
// deno-fmt-ignore
45-
return url.startsWith("file://")
46-
|| url.startsWith("http://")
47-
|| url.startsWith("https://")
45+
return url.startsWith("file://") ||
46+
url.startsWith("http://") ||
47+
url.startsWith("https://")
4848
? new URL(url)
4949
: toFileUrl(resolve(url));
5050
}
@@ -107,6 +107,7 @@ export function homeDir(): string | undefined {
107107
case "aix":
108108
case "solaris":
109109
case "illumos":
110+
case "android":
110111
return Deno.env.get("HOME");
111112
default:
112113
throw Error("unreachable");

0 commit comments

Comments
 (0)