bin-wrapper
bin-wrapper copied to clipboard
dest() affects the success of run() finding a binary
dest()
Accepts a path which the files will be downloaded to.
run()
Runs the search for the binary. If no binary is found it will download the file using the URL provided in .src().
Oddly, the path given to dest()
appears to affect the success of run()
? I was trying to figure out why bin-wrapper
was not working in the imagemin-cwebp
/cwebp-bin
package, cwebp -version
works just like they test for, which cwebp
points to /usr/bin
, but when running the package install.js which uses bin-wrapper
it fails to run the command.