Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update tools/lint-sh.mjs
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
F3n67u and aduh95 authored May 3, 2022
commit 783516af97a7e90a6f794685afb48855f7d32c4a
8 changes: 4 additions & 4 deletions tools/lint-sh.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env node

import { execSync, spawn } from 'child_process';
import { promises as fs, readdirSync, statSync } from 'fs';
import { extname, join, relative, resolve } from 'path';
import process from 'process';
import { execSync, spawn } from 'node:child_process';
import { promises as fs, readdirSync, statSync } from 'node:fs';
import { extname, join, relative, resolve } from 'node:path';
import process from 'node:process';

const FIX_MODE_ENABLED = process.argv.includes('--fix');
const USE_NPX = process.argv.includes('--from-npx');
Expand Down