Compare commits

...

2 Commits

Author SHA1 Message Date
2d08cc929f Merge branch 'bugfix/broken_executable' of kosmos/kredits-ipfs-pinner into master 2019-08-04 12:51:03 +00:00
5d36ca05a5
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).
2019-08-04 14:47:57 +02:00

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');