Skip to content

Commit

Permalink
port init
Browse files Browse the repository at this point in the history
  • Loading branch information
camden11 committed Nov 28, 2023
1 parent 546e5b9 commit 6dea74b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/cli/commands/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ const {
} = require('@hubspot/local-dev-lib/config');
const { addConfigOptions } = require('../lib/commonOpts');
const { handleExit } = require('../lib/process');
const { checkAndUpdateGitignore } = require('@hubspot/cli-lib/lib/git');
const {
checkAndAddConfigToGitignore,
} = require('@hubspot/local-dev-lib/gitignore');
const { logErrorInstance } = require('../lib/errorHandlers/standardErrors');
const {
DEFAULT_HUBSPOT_CONFIG_YAML_FILE_NAME,
Expand Down Expand Up @@ -117,7 +119,7 @@ exports.handler = async options => {
);
const configPath = getConfigPath();

checkAndUpdateGitignore(configPath);
checkAndAddConfigToGitignore(configPath);

logger.log('');
logger.success(
Expand Down

0 comments on commit 6dea74b

Please sign in to comment.