v1.0.2: fix bin path

This commit is contained in:
AJ ONeal 2018-11-18 03:21:48 -07:00
parent c0aab9eab1
commit 996e19fe31
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/bin/env node
#!/usr/bin/env node
'use strict';
var fs = require('fs');
@ -12,6 +12,5 @@ var keypem = fs.readFileSync(keyname, 'ascii');
ecdsacsr({ key: keypem, domains: domains }).then(function (csr) {
console.error("CN=" + domains[0]);
console.error("subjectAltName=" + domains.join(','));
console.error();
console.log(csr);
});

View File

@ -1,6 +1,6 @@
{
"name": "ecdsa-csr",
"version": "1.0.1",
"version": "1.0.2",
"description": "A focused, zero-dependency library to generate a Certificate Signing Request (CSR) and sign it!",
"main": "index.js",
"bin": {