Skip to content

Commit

Permalink
asdasd
Browse files Browse the repository at this point in the history
  • Loading branch information
renhiyama committed Nov 2, 2024
1 parent c60db9f commit 98f6cf0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ import rovel from "rovel.js";
rovel.env.config();
import fs from "node:fs";
import pkg from "./package.json" with { type: "json" };
import process from "node:process";
if (process.version.split(1, 3) > 18) {
process.exit(0);
}


if (pkg.checkCache == "true" && !Deno.args.join(" ").includes("--force")) {
if (pkg.checkCache == "true" && !process.argv.join(" ").includes("--force")) {
try {
if (fs.existsSync("./src/public/assets/img/bot/logo-36.png")) {
console.log("Build cache was found. Skipping build.");
Expand Down

0 comments on commit 98f6cf0

Please sign in to comment.