This commit is contained in:
2026-02-15 21:32:54 +08:00
parent 95e633348a
commit a1f5882e03

View File

@@ -1,14 +1,7 @@
#!/usr/bin/env runts -- --allow-all
import {
args,
existsPath,
log,
makeDirectory,
term,
writeStringToFile,
} from "../libraries/deno-commons-mod.ts";
import { parseArgs } from "jsr:@std/cli/parse-args";
import {args, existsPath, log, makeDirectory, term, writeStringToFile,} from "../libraries/deno-commons-mod.ts";
import {parseArgs} from "jsr:@std/cli/parse-args";
const DOT_GIT_IGNORE = ".gitignore";
@@ -131,8 +124,7 @@ async function main() {
}
if (flags.jdk == "8" || flags.jdk == "1.8") {
const buildFiles = BUILD_FILES_MAP["8"];
await handleJdk(buildFiles, flags);
await handleJdk(BUILD_FILES_MAP["8"], flags);
} else {
throw new Error(`Invalid JDK: ${flags.jdk ?? "not-assigned"}`);
}