Skip to content

Commit

Permalink
Older node versions do not provide named process in node:process fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OzzyCzech committed Jan 13, 2025
1 parent b7dc14f commit dbe5dea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli.js
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -63,4 +63,4 @@ if (files.length > 0) {
} else {
console.error(chalk.red("ERROR: I didn't find any json files"));
process.exit(1);
}
}

0 comments on commit dbe5dea

Please sign in to comment.