Skip to content

Commit

Permalink
Fix issue on Unix (1.0.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
johansatge committed Jul 4, 2021
1 parent 3edfc44 commit cf6f65b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "httpdir",
"version": "1.0.0",
"version": "1.0.1",
"description": "Simple, zero dependency command-line HTTP server for static local files",
"author": "Johan Satgé",
"bin": {
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ This project uses [semver](http://semver.org/).

| Version | Date | Notes |
| --- | --- | --- |
| `1.0.1` | 2021-07-04 | Fix execution issue on Unix |
| `1.0.0` | 2021-07-04 | Initial version |

## License
Expand Down
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env node

const fsp = require('fs').promises
const http = require('http')
const { log, color, printVersionAndExit, printHelpAndExit, nameAndVersion } = require('./log.js')
Expand Down

0 comments on commit cf6f65b

Please sign in to comment.