Skip to content

Commit e9f7840

Browse files
committed
fix lint
1 parent 364b429 commit e9f7840

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/traces/sankey/render.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,9 @@ function sankeyModel(layout, d, traceIndex) {
148148
.links(links)
149149
.layout(c.sankeyIterations);
150150

151-
if(sankey.nodePadding() < nodePad) Lib.warn('node.pad was reduced to ', sankey.nodePadding(), ' to fit within the figure.')
151+
if(sankey.nodePadding() < nodePad) {
152+
Lib.warn('node.pad was reduced to ', sankey.nodePadding(), ' to fit within the figure.');
153+
}
152154

153155
var node, sankeyNodes = sankey.nodes();
154156
for(var n = 0; n < sankeyNodes.length; n++) {

0 commit comments

Comments
 (0)