From 4490d0e7d7d59b110e2ecad095b325db48d8b17f Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 15 Dec 2015 14:48:55 +0000 Subject: [PATCH] fix requires --- lib/client.js | 6 +++--- lib/get-certificate.js | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/client.js b/lib/client.js index 682bea9..ee9167f 100644 --- a/lib/client.js +++ b/lib/client.js @@ -7,9 +7,9 @@ 'use strict'; -exports.Acme = require('acme-client'); -exports.registerNewAccount = require('register-new-account'); -exports.getCertificate = require('get-certificate'); +exports.Acme = require('./acme-client'); +exports.registerNewAccount = require('./register-new-account'); +exports.getCertificate = require('./get-certificate'); exports.getCert=function (options, cb) { exports.registerNewAccount(options, function () { exports.getCertificate(options, cb); diff --git a/lib/get-certificate.js b/lib/get-certificate.js index 9a56ae8..ae4e185 100644 --- a/lib/get-certificate.js +++ b/lib/get-certificate.js @@ -11,7 +11,6 @@ var NOOP=function () {}, log=NOOP; var request=require('request'); var util=require('./acme-util'); var cryptoUtil=require('./crypto-util'); - var Acme = require('./acme-client'); function getCert(options, cb) {