From 1718bf0bdfaae37f72d2cf68357c27f91c0f472c Mon Sep 17 00:00:00 2001 From: Kenny Lam <909118+kennylam@users.noreply.github.com> Date: Mon, 18 Dec 2023 18:52:58 -0500 Subject: [PATCH] chore(deps): update commander import --- packages/carbon-web-components/gulp-tasks/config.js | 2 +- packages/services/gulp-tasks/config.js | 2 +- tasks/deploy_preview_comment.js | 2 +- tasks/get-changelog.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/carbon-web-components/gulp-tasks/config.js b/packages/carbon-web-components/gulp-tasks/config.js index 2f709704b68..ffdc28affdb 100644 --- a/packages/carbon-web-components/gulp-tasks/config.js +++ b/packages/carbon-web-components/gulp-tasks/config.js @@ -8,7 +8,7 @@ */ const path = require('path'); -const program = require('commander'); +const { program } = require('commander'); const collect = (v, a) => a.add(v); diff --git a/packages/services/gulp-tasks/config.js b/packages/services/gulp-tasks/config.js index 9765a0bf12d..53a72530636 100644 --- a/packages/services/gulp-tasks/config.js +++ b/packages/services/gulp-tasks/config.js @@ -10,7 +10,7 @@ 'use strict'; const path = require('path'); -const program = require('commander'); +const { program } = require('commander'); const collect = (v, a) => a.add(v); diff --git a/tasks/deploy_preview_comment.js b/tasks/deploy_preview_comment.js index dadec30249d..0f9f7894d95 100644 --- a/tasks/deploy_preview_comment.js +++ b/tasks/deploy_preview_comment.js @@ -8,7 +8,7 @@ 'use strict'; const https = require('https'); -const program = require('commander'); +const { program } = require('commander'); program .option('-t, --token ', 'Github Token') diff --git a/tasks/get-changelog.js b/tasks/get-changelog.js index a480bcba0d2..d80cae17fdd 100644 --- a/tasks/get-changelog.js +++ b/tasks/get-changelog.js @@ -10,7 +10,7 @@ 'use strict'; const child = require('child_process'); -const program = require('commander'); +const { program } = require('commander'); program .option('-f, --tagFrom ', 'Git tag range from')