@lightdash/cli 0.1449.3 → 0.1449.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -133,7 +133,8 @@ async function getWarehouseClient(options) {
133
133
  warehouseClient.getCatalog = async (refs) => refs.reduce(async (accPromise, ref) => {
134
134
  const acc = await accPromise; // Wait for the previous step's result
135
135
  if (!config.context?.project) {
136
- throw new common_1.AuthorizationError(`No active Lightdash project.`);
136
+ // If the project is not set(eg: on first project create), we can't fetch the schema
137
+ return acc;
137
138
  }
138
139
  try {
139
140
  globalState_1.default.debug(`> Warehouse schema information is not available in dbt Cloud CLI. The schema ${ref.database}.${ref.schema}.${ref.table} will be fetched from the active project.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/cli",
3
- "version": "0.1449.3",
3
+ "version": "0.1449.5",
4
4
  "license": "MIT",
5
5
  "bin": {
6
6
  "lightdash": "dist/index.js"
@@ -11,8 +11,8 @@
11
11
  ],
12
12
  "dependencies": {
13
13
  "@actions/core": "^1.11.1",
14
- "@lightdash/common": "^0.1449.3",
15
- "@lightdash/warehouses": "^0.1449.3",
14
+ "@lightdash/common": "^0.1449.5",
15
+ "@lightdash/warehouses": "^0.1449.5",
16
16
  "@types/columnify": "^1.5.1",
17
17
  "ajv": "^8.11.0",
18
18
  "ajv-formats": "^2.1.1",