fix requires
This commit is contained in:
parent
9de9c90061
commit
4490d0e7d7
|
@ -7,9 +7,9 @@
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
exports.Acme = require('acme-client');
|
exports.Acme = require('./acme-client');
|
||||||
exports.registerNewAccount = require('register-new-account');
|
exports.registerNewAccount = require('./register-new-account');
|
||||||
exports.getCertificate = require('get-certificate');
|
exports.getCertificate = require('./get-certificate');
|
||||||
exports.getCert=function (options, cb) {
|
exports.getCert=function (options, cb) {
|
||||||
exports.registerNewAccount(options, function () {
|
exports.registerNewAccount(options, function () {
|
||||||
exports.getCertificate(options, cb);
|
exports.getCertificate(options, cb);
|
||||||
|
|
|
@ -11,7 +11,6 @@ var NOOP=function () {}, log=NOOP;
|
||||||
var request=require('request');
|
var request=require('request');
|
||||||
var util=require('./acme-util');
|
var util=require('./acme-util');
|
||||||
var cryptoUtil=require('./crypto-util');
|
var cryptoUtil=require('./crypto-util');
|
||||||
|
|
||||||
var Acme = require('./acme-client');
|
var Acme = require('./acme-client');
|
||||||
|
|
||||||
function getCert(options, cb) {
|
function getCert(options, cb) {
|
||||||
|
|
Loading…
Reference in New Issue