Skip to content

Commit 25b5861

Browse files
committed
fix(cli): unpack load from default when importing
1 parent bc53952 commit 25b5861

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

@commitlint/cli/src/cli.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/usr/bin/env node
22
require('babel-polyfill'); // eslint-disable-line import/no-unassigned-import
33

4-
const load = require('@commitlint/load');
4+
// fix: commitlint load is ported to typescript, until this one is ported we need to unpack it
5+
const {default: load} = require('@commitlint/load');
56
const lint = require('@commitlint/lint');
67
const read = require('@commitlint/read');
78
const meow = require('meow');

0 commit comments

Comments
 (0)