Skip to content

Commit 05a0209

Browse files
committed
adapt sunburst-specific block in assertSrcContents
1 parent f1aa7d3 commit 05a0209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/test_syntax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function assertSrcContents() {
147147
// off the d3-hierarchy output
148148
var dirParts = path.dirname(file).split(path.sep);
149149
var isSunburstFile = dirParts[dirParts.length - 1] === 'sunburst';
150-
var isLinkedToObject = ['pt', 'd'].indexOf(parts[parts.length - 2]) !== -1;
150+
var isLinkedToObject = ['pt', 'd', 'parent'].indexOf(parts[parts.length - 2]) !== -1;
151151
if(!(isSunburstFile && isLinkedToObject)) {
152152
logs.push(file + ' : contains .' + lastPart + ' (IE failure in SVG)');
153153
}

0 commit comments

Comments
 (0)