Skip to content

Commit

Permalink
feat: add node executable shebang line
Browse files Browse the repository at this point in the history
  • Loading branch information
yidingww committed May 23, 2023
1 parent bd117ee commit 83aad5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lint-diff-branch",
"version": "0.1.10",
"version": "0.1.11",
"description": "A tiny CLI tool that help you run eslint against target branch",
"keywords": [
"eslint",
Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env node
import chalk from 'chalk'
import { defineCommand, runMain } from 'citty'
import { consola } from 'consola'
Expand All @@ -6,7 +7,7 @@ import shell from 'shelljs'
const main = defineCommand({
meta: {
name: 'lint-diff-branch',
version: '0.1.10',
version: '0.1.11',
description: 'Run ESLint on changed JS/TS files against a target branch',
},
args: {
Expand Down

0 comments on commit 83aad5c

Please sign in to comment.