From dbe5dea198cf1f4cc10ee249a6a87a458b0ffe94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20O=C5=BEana?= Date: Mon, 13 Jan 2025 13:03:01 +0100 Subject: [PATCH] Older node versions do not provide named process in `node:process` fix #4 --- cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli.js b/cli.js index ce8d0ab..f006f09 100755 --- a/cli.js +++ b/cli.js @@ -1,6 +1,6 @@ #!/usr/bin/env node import parse from "node:path"; -import { process } from "node:process"; +import process from "node:process"; import chalk from "chalk"; import { globby } from "globby"; import meow from "meow"; @@ -63,4 +63,4 @@ if (files.length > 0) { } else { console.error(chalk.red("ERROR: I didn't find any json files")); process.exit(1); -} +} \ No newline at end of file