Skip to content

Commit

Permalink
[🔥AUDIT🔥] Add shebang to the exported bin (#27)
Browse files Browse the repository at this point in the history
🖍 _This is an audit!_ 🖍

## Summary:
Forgot 🤦‍♂️

Issue: none

## Test plan:
```
npm run build
chmod +x dist/cli/run.js
./dist/cli/run.js
```
should run and print the help message!

Author: jaredly

Auditors:

Required Reviewers:

Approved By:

Checks: ✅ Lint & Test (ubuntu-latest, 16.x)

Pull Request URL: #27
  • Loading branch information
jaredly authored Apr 21, 2022
1 parent 9508038 commit e8a8025
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/soft-planes-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@khanacademy/graphql-flow': patch
---

Add shebang to the exported binary, so that it runs
1 change: 1 addition & 0 deletions src/cli/run.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env node
// @flow
/* eslint-disable no-console */
import {generateTypeFiles, processPragmas} from '../generateTypeFiles';
Expand Down

0 comments on commit e8a8025

Please sign in to comment.