Skip to content

Commit

Permalink
fix(cli): unpack load from default when importing
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Sep 12, 2019
1 parent ec03637 commit 5b08411
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion @commitlint/cli/src/cli.js
@@ -1,7 +1,8 @@
#!/usr/bin/env node
require('babel-polyfill'); // eslint-disable-line import/no-unassigned-import

const load = require('@commitlint/load');
// fix: commitlint load is ported to typescript, until this one is ported we need to unpack it
const {default: load} = require('@commitlint/load');
const lint = require('@commitlint/lint');
const read = require('@commitlint/read');
const meow = require('meow');
Expand Down

0 comments on commit 5b08411

Please sign in to comment.