fix requires

This commit is contained in:
AJ ONeal 2015-12-15 14:48:55 +00:00
parent 9de9c90061
commit 4490d0e7d7
2 changed files with 3 additions and 4 deletions

View File

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

View File

@ -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) {