updates
This commit is contained in:
@@ -1,13 +1,6 @@
|
||||
#!/usr/bin/env runts -- --allow-all
|
||||
|
||||
import {
|
||||
args,
|
||||
existsPath,
|
||||
log,
|
||||
makeDirectory,
|
||||
term,
|
||||
writeStringToFile,
|
||||
} from "../libraries/deno-commons-mod.ts";
|
||||
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"}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user