Skip to content

Commit

Permalink
Merge pull request #197 from luciferankon/master
Browse files Browse the repository at this point in the history
fixed issue of failing test in case of no dependencies
  • Loading branch information
Apoorva-GA authored Apr 30, 2019
2 parents 541652c + 948694c commit 0f9053a
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 61 deletions.
123 changes: 63 additions & 60 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var getPostData = function (medium, cid) {
if (!pi) {
return "";
}
var labels = pi.dependencies.taiko && "taiko," + os.platform() || os.platform();
var labels = pi.dependencies && pi.dependencies.taiko && "taiko," + os.platform() || os.platform();
var gaID = process.env.use_test_ga.toLowerCase() === "true" ? gaTestTrackingID : gaTrackingID;
return qs.stringify({
aip: "1",
Expand Down

0 comments on commit 0f9053a

Please sign in to comment.