@hubspot/local-dev-lib 0.5.0-experimental.6 → 0.5.0-experimental.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/config/index.js CHANGED
@@ -15,9 +15,7 @@ const environment_1 = require("../lib/environment");
15
15
  const HubSpotConfigError_1 = require("../models/HubSpotConfigError");
16
16
  const config_2 = require("../constants/config");
17
17
  function localConfigFileExists() {
18
- const localConfigFilePath = (0, utils_1.getLocalConfigFilePath)();
19
- console.log('localConfigFilePath', localConfigFilePath);
20
- return Boolean(localConfigFilePath);
18
+ return Boolean((0, utils_1.getLocalConfigDefaultFilePath)());
21
19
  }
22
20
  exports.localConfigFileExists = localConfigFileExists;
23
21
  function globalConfigFileExists() {
package/config/utils.js CHANGED
@@ -21,11 +21,10 @@ function getGlobalConfigFilePath() {
21
21
  }
22
22
  exports.getGlobalConfigFilePath = getGlobalConfigFilePath;
23
23
  function getLocalConfigFilePath() {
24
- console.log('Search for', config_1.DEFAULT_HUBSPOT_CONFIG_YAML_FILE_NAME);
25
24
  return (0, findup_sync_1.default)([
26
25
  config_1.DEFAULT_HUBSPOT_CONFIG_YAML_FILE_NAME,
27
26
  config_1.DEFAULT_HUBSPOT_CONFIG_YAML_FILE_NAME.replace('.yml', '.yaml'),
28
- ]);
27
+ ], { cwd: (0, path_1.getCwd)() });
29
28
  }
30
29
  exports.getLocalConfigFilePath = getLocalConfigFilePath;
31
30
  function getLocalConfigDefaultFilePath() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/local-dev-lib",
3
- "version": "0.5.0-experimental.6",
3
+ "version": "0.5.0-experimental.7",
4
4
  "description": "Provides library functionality for HubSpot local development tooling, including the HubSpot CLI",
5
5
  "repository": {
6
6
  "type": "git",