Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Feb 2, 2024
1 parent 94386df commit 5bbb569
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,16 @@ jobs:
strategy:
matrix:
node-version:
- 16.x
- 18.x
- 20.x
- 21.x
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install
Expand Down
3 changes: 1 addition & 2 deletions bin/wisdom.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ if (arg === '--dry-run') {
option = '--dry-run';
}

if (!arg) {
if (!arg)
arg = await choose();
}

if (/^(-v|--v)$/.test(arg)) {
version();
Expand Down
2 changes: 1 addition & 1 deletion lib/validate-package.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
EventEmitter,
once,
} from 'events';
} from 'node:events';
import {test} from 'supertape';
import montag from 'montag';
import {validatePackage} from './validate-package.js';
Expand Down
2 changes: 1 addition & 1 deletion lib/wisdom.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import path from 'node:path';
import {EventEmitter} from 'events';
import {EventEmitter} from 'node:events';
import changelog from 'changelog-io';
import rendy from 'rendy';
import minor from 'minor';
Expand Down

0 comments on commit 5bbb569

Please sign in to comment.