Skip to content

Commit

Permalink
Fix type error in build_polyfill_table.js by calling Set.prototype.ad…
Browse files Browse the repository at this point in the history
…d instead of push.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=126153233
  • Loading branch information
shicks authored and blickly committed Jun 29, 2016
1 parent 20e8f03 commit e0de230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function checkDeps(errors, deps, versions) {
while (queue.length) {
const next = queue.shift();
for (const dep of deps.get(next) || []) {
if (dep == file) errors.push('ERROR - Cyclic dependency:\n ' + dep);
if (dep == file) errors.add('ERROR - Cyclic dependency:\n ' + dep);
if (seen.has(dep)) continue;
seen.add(dep);
queue.push(dep);
Expand Down
2 changes: 1 addition & 1 deletion src/com/google/javascript/jscomp/resources.json

Large diffs are not rendered by default.

0 comments on commit e0de230

Please sign in to comment.