Skip to content

Commit

Permalink
fix(certs): load certs commands dynamically
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jun 20, 2018
1 parent b93fad7 commit c39372b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

let co = require('co')
let cli = require('heroku-cli-util')
let certificateDetails = require('../../lib/certificate_details.js')
let certificateDetails = require('../../../lib/certificate_details.js')
let _ = require('lodash')
let distanceInWordsToNow = require('date-fns/distance_in_words_to_now')

Expand Down
40 changes: 0 additions & 40 deletions packages/certs-v5/index.js

This file was deleted.

5 changes: 1 addition & 4 deletions packages/certs-v5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"heroku-plugin"
],
"license": "ISC",
"main": "index.js",
"repository": "heroku/cli",
"scripts": {
"test": "TZ=utc nyc mocha && standard",
Expand All @@ -49,12 +48,10 @@
},
"cli-engine": {
"bin": "heroku",
"commands": "./commands",
"topics": {
"certs": {
"description": "a topic for the ssl plugin"
},
"_certs": {
"hidden": true
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

let expect = require('chai').expect
let nock = require('nock')
let certs = require('../../../commands/certs/auto.js')
let certs = require('../../../../commands/certs/auto')

let letsEncrypt = {
ssl_cert: {
Expand Down

0 comments on commit c39372b

Please sign in to comment.