ga4-export-fixer 0.1.3-dev.0 → 0.1.3-dev.1
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/package.json +1 -1
- package/utils.js +1 -2
package/package.json
CHANGED
package/utils.js
CHANGED
|
@@ -184,7 +184,7 @@ const mergeSQLConfigurations = (defaultConfig, inputConfig = {}) => {
|
|
|
184
184
|
return `\`${project}.${dataset}.events_*\``;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
throw new Error(`sourceTable must be a Dataform table reference or a string
|
|
187
|
+
throw new Error(`sourceTable must be a Dataform table reference or a string. Supported string formats include: '\`project.dataset.events_*\`', 'project.dataset', 'project.dataset.events_*', for example. Received: ${JSON.stringify(sourceTable)}`);
|
|
188
188
|
};
|
|
189
189
|
|
|
190
190
|
// process the sourceTable to support different formats
|
|
@@ -207,7 +207,6 @@ const isDataformTableReferenceObject = (obj) => {
|
|
|
207
207
|
return obj &&
|
|
208
208
|
typeof obj === 'object' &&
|
|
209
209
|
Object.hasOwn(obj, 'name') &&
|
|
210
|
-
Object.hasOwn(obj, 'project') &&
|
|
211
210
|
Object.hasOwn(obj, 'dataset');
|
|
212
211
|
};
|
|
213
212
|
|