From 25bf8a14e109a6acae75dde3f2e27dd80ded0ad3 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Sat, 11 Oct 2025 14:53:03 +0500 Subject: [PATCH] setup: run execute.mjs using bun --- scripts/execute.mjs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/execute.mjs b/scripts/execute.mjs index 9b8a3dfdb..bff5df22c 100644 --- a/scripts/execute.mjs +++ b/scripts/execute.mjs @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env bun /* This file is part of the Notesnook project (https://notesnook.com/) @@ -19,10 +19,9 @@ along with this program. If not, see . */ import { spawn } from "child_process"; -import { existsSync, readFileSync } from "fs"; -import { glob, readdir, readFile, rename, stat, writeFile } from "fs/promises"; +import { existsSync } from "fs"; +import { readdir, readFile, rename, stat, writeFile } from "fs/promises"; import path from "path"; -import { fileURLToPath } from "url"; import { performance } from "perf_hooks"; import { createHash } from "crypto"; import {