Fix executable not working

Need to tell the system it's dealing with a node script. This fixes both
the installed `kredits-ipfs-pinner` command as well as npx (which is
also running that command).
This commit is contained in:
Basti 2019-08-04 14:47:57 +02:00
parent 0c93766111
commit 5d36ca05a5
No known key found for this signature in database
GPG Key ID: BE4634D632D39B67
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
const debug = require('debug')('ipfs-pinner');
#!/usr/bin/env node
const Kredits = require('kredits-contracts');
const IpfsPinner = require('./lib/ipfs-pinner');