Skip to content

Commit

Permalink
Merge branch 'master' into br-ldl-api-deps-2
Browse files Browse the repository at this point in the history
  • Loading branch information
brandenrodgers committed Feb 13, 2024
2 parents 2a39c42 + 48fd2ab commit 6507632
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions packages/cli/commands/hubdb/clear.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { logger } = require('@hubspot/cli-lib/logger');
const { logErrorInstance } = require('../../lib/errorHandlers/standardErrors');
const { clearHubDbTableRows } = require('@hubspot/cli-lib/hubdb');
const { publishTable } = require('@hubspot/cli-lib/api/hubdb');
const { logApiErrorInstance } = require('../../lib/errorHandlers/apiErrors');
const { clearHubDbTableRows } = require('@hubspot/local-dev-lib/hubdb');
const { publishTable } = require('@hubspot/local-dev-lib/api/hubdb');

const { loadAndValidateOptions } = require('../../lib/validation');
const { trackCommandUsage } = require('../../lib/usageTracking');
Expand Down Expand Up @@ -52,7 +52,7 @@ exports.handler = async options => {
);
}
} catch (e) {
logErrorInstance(e);
logApiErrorInstance(e);
}
};

Expand Down
6 changes: 3 additions & 3 deletions packages/cli/commands/hubdb/create.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const path = require('path');

const { logger } = require('@hubspot/cli-lib/logger');
const { logErrorInstance } = require('../../lib/errorHandlers/standardErrors');
const { logApiErrorInstance } = require('../../lib/errorHandlers/apiErrors');
const { getCwd } = require('@hubspot/local-dev-lib/path');
const { createHubDbTable } = require('@hubspot/cli-lib/hubdb');
const { createHubDbTable } = require('@hubspot/local-dev-lib/hubdb');

const {
checkAndConvertToJson,
Expand Down Expand Up @@ -56,7 +56,7 @@ exports.handler = async options => {
src,
})
);
logErrorInstance(e);
logApiErrorInstance(e);
}
};

Expand Down
6 changes: 3 additions & 3 deletions packages/cli/commands/hubdb/delete.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { logger } = require('@hubspot/cli-lib/logger');
const { logErrorInstance } = require('../../lib/errorHandlers/standardErrors');
const { deleteTable } = require('@hubspot/cli-lib/api/hubdb');
const { logApiErrorInstance } = require('../../lib/errorHandlers/apiErrors');
const { deleteTable } = require('@hubspot/local-dev-lib/api/hubdb');
const { loadAndValidateOptions } = require('../../lib/validation');
const { trackCommandUsage } = require('../../lib/usageTracking');

Expand Down Expand Up @@ -40,7 +40,7 @@ exports.handler = async options => {
tableId,
})
);
logErrorInstance(e);
logApiErrorInstance(e);
}
};

Expand Down
6 changes: 3 additions & 3 deletions packages/cli/commands/hubdb/fetch.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { logger } = require('@hubspot/cli-lib/logger');
const { logErrorInstance } = require('../../lib/errorHandlers/standardErrors');
const { downloadHubDbTable } = require('@hubspot/cli-lib/hubdb');
const { logApiErrorInstance } = require('../../lib/errorHandlers/apiErrors');
const { downloadHubDbTable } = require('@hubspot/local-dev-lib/hubdb');

const { loadAndValidateOptions } = require('../../lib/validation');
const { trackCommandUsage } = require('../../lib/usageTracking');
Expand Down Expand Up @@ -37,7 +37,7 @@ exports.handler = async options => {
})
);
} catch (e) {
logErrorInstance(e);
logApiErrorInstance(e);
}
};

Expand Down

0 comments on commit 6507632

Please sign in to comment.