From 97ab0cad8d47da95000a1323d73079d7f01e8d63 Mon Sep 17 00:00:00 2001 From: Josh Black Date: Thu, 30 Jan 2020 10:26:24 -0600 Subject: [PATCH] fix(cli): update to support new package versions --- packages/cli/src/changelog.js | 2 +- packages/cli/src/workspace.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/changelog.js b/packages/cli/src/changelog.js index d9a491a7255d..271b3f2d65a8 100644 --- a/packages/cli/src/changelog.js +++ b/packages/cli/src/changelog.js @@ -7,7 +7,7 @@ 'use strict'; -const parse = require('@commitlint/parse'); +const { default: parse } = require('@commitlint/parse'); const execa = require('execa'); // We keep a list of commits that are process-oriented that we never want to diff --git a/packages/cli/src/workspace.js b/packages/cli/src/workspace.js index cfa01823ca26..39f34a34f0a5 100644 --- a/packages/cli/src/workspace.js +++ b/packages/cli/src/workspace.js @@ -18,7 +18,7 @@ const packagePaths = fs .readdirSync(PACKAGES_DIR) .filter(basename => { const filename = path.join(PACKAGES_DIR, basename); - if (!denylist.has(filename)) { + if (denylist.has(filename)) { return false; }