| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -156,7 +156,7 @@ jobs: | |||
| 156 | 156 | persist-credentials: false | |
| 157 | 157 | - run: shellcheck -V | |
| 158 | 158 | - name: Lint Shell scripts | |
| 159 | - run: tools/lint-sh.js . | ||
| 159 | + run: tools/lint-sh.mjs . | ||
| 160 | 160 | lint-codeowners: | |
| 161 | 161 | if: github.event.pull_request.draft == false | |
| 162 | 162 | runs-on: ubuntu-latest | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,9 +1,9 @@ | |||
| 1 | 1 | #!/usr/bin/env node | |
| 2 | - 'use strict'; | ||
| 3 | 2 | ||
| 4 | - const { execSync, spawn } = require('child_process'); | ||
| 5 | - const { promises: fs, readdirSync, statSync } = require('fs'); | ||
| 6 | - const { extname, join, relative, resolve } = require('path'); | ||
| 3 | + import { execSync, spawn } from 'node:child_process'; | ||
| 4 | + import { promises as fs, readdirSync, statSync } from 'node:fs'; | ||
| 5 | + import { extname, join, relative, resolve } from 'node:path'; | ||
| 6 | + import process from 'node:process'; | ||
| 7 | 7 | ||
| 8 | 8 | const FIX_MODE_ENABLED = process.argv.includes('--fix'); | |
| 9 | 9 | const USE_NPX = process.argv.includes('--from-npx'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments