Skip to content
This repository was archived by the owner on Dec 11, 2022. It is now read-only.

Commit 36b0a92

Browse files
authored
Merge pull request #80 from doitintl/issue-7-take-2
Fixes #75
2 parents 2e10bea + 05f548d commit 36b0a92

File tree

3 files changed

+54392
-24
lines changed

3 files changed

+54392
-24
lines changed

dist/module.js

Lines changed: 54387 additions & 22 deletions
Large diffs are not rendered by default.

dist/module.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/datasource.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,10 @@ export class BigQueryDatasource {
230230
}
231231
}
232232
for (const d of data) {
233-
if (d.target.search(Shifted) > -1) {
233+
if (
234+
typeof d.target !== "undefined" &&
235+
d.target.search(Shifted) > -1
236+
) {
234237
const res = BigQueryDatasource._getShiftPeriod(
235238
d.target.substring(d.target.lastIndexOf("_") + 1, d.target.length)
236239
);

0 commit comments

Comments
 (0)