diff --git a/lib/linter/code-path-analysis/debug-helpers.js b/lib/linter/code-path-analysis/debug-helpers.js index e06b6cde5f1..c0e01a8248b 100644 --- a/lib/linter/code-path-analysis/debug-helpers.js +++ b/lib/linter/code-path-analysis/debug-helpers.js @@ -109,7 +109,7 @@ module.exports = { text += "final[label=\"\",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25];\n"; } if (codePath.thrownSegments.length > 0) { - text += "thrown[label=\"✘\",shape=circle,width=0.3,height=0.3,fixedsize];\n"; + text += "thrown[label=\"✘\",shape=circle,width=0.3,height=0.3,fixedsize=true];\n"; } const traceMap = Object.create(null); diff --git a/tests/fixtures/code-path-analysis/if-4.js b/tests/fixtures/code-path-analysis/if-4.js index def278a43c4..6229eddcbd0 100644 --- a/tests/fixtures/code-path-analysis/if-4.js +++ b/tests/fixtures/code-path-analysis/if-4.js @@ -16,7 +16,7 @@ digraph { node[shape=box,style="rounded,filled",fillcolor=white]; initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25]; final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25]; - thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize]; + thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize=true]; s1_1[label="Program\nIfStatement\nIdentifier (a)"]; s1_2[label="BlockStatement\nReturnStatement\nLiteral (0)"]; s1_3[label="BlockStatement:exit"]; diff --git a/tests/fixtures/code-path-analysis/try--try-catch-2.js b/tests/fixtures/code-path-analysis/try--try-catch-2.js index e6e86b4a4f3..d9b97979969 100644 --- a/tests/fixtures/code-path-analysis/try--try-catch-2.js +++ b/tests/fixtures/code-path-analysis/try--try-catch-2.js @@ -16,7 +16,7 @@ digraph { node[shape=box,style="rounded,filled",fillcolor=white]; initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25]; final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25]; - thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize]; + thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize=true]; s1_1[label="Program\nTryStatement\nBlockStatement\nExpressionStatement\nCallExpression\nIdentifier (foo)"]; s1_2[label="CallExpression:exit\nExpressionStatement:exit\nBlockStatement:exit"]; s1_3[label="CatchClause\nIdentifier (err)\nBlockStatement\nThrowStatement\nIdentifier (err)"]; diff --git a/tests/fixtures/code-path-analysis/try--try-catch-4.js b/tests/fixtures/code-path-analysis/try--try-catch-4.js index b96d220a0c5..cb9f4b2d883 100644 --- a/tests/fixtures/code-path-analysis/try--try-catch-4.js +++ b/tests/fixtures/code-path-analysis/try--try-catch-4.js @@ -29,7 +29,7 @@ digraph { node[shape=box,style="rounded,filled",fillcolor=white]; initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25]; final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25]; - thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize]; + thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize=true]; s1_1[label="Program\nTryStatement\nBlockStatement\nTryStatement\nBlockStatement\nIfStatement\nIdentifier (a)"]; s1_3[label="BlockStatement\nThrowStatement\nIdentifier (err)"]; s1_4[style="rounded,dashed,filled",fillcolor="#FF9800",label="<>\nBlockStatement:exit"]; diff --git a/tests/fixtures/code-path-analysis/try--try-finally-1.js b/tests/fixtures/code-path-analysis/try--try-finally-1.js index dcaa74d3dcb..94374220394 100644 --- a/tests/fixtures/code-path-analysis/try--try-finally-1.js +++ b/tests/fixtures/code-path-analysis/try--try-finally-1.js @@ -19,7 +19,7 @@ digraph { node[shape=box,style="rounded,filled",fillcolor=white]; initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25]; final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25]; - thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize]; + thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize=true]; s1_1[label="Program\nTryStatement\nBlockStatement\nExpressionStatement\nCallExpression\nIdentifier (foo)"]; s1_2[label="CallExpression:exit\nExpressionStatement:exit\nBlockStatement:exit"]; s1_3[label="BlockStatement\nExpressionStatement\nCallExpression\nIdentifier (bar)\nExpressionStatement\nCallExpression\nIdentifier (last)"]; diff --git a/tests/fixtures/code-path-analysis/try--try-finally-3.js b/tests/fixtures/code-path-analysis/try--try-finally-3.js index b141013076a..7ecc766c450 100644 --- a/tests/fixtures/code-path-analysis/try--try-finally-3.js +++ b/tests/fixtures/code-path-analysis/try--try-finally-3.js @@ -17,7 +17,7 @@ last(); digraph { node[shape=box,style="rounded,filled",fillcolor=white]; initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25]; - thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize]; + thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize=true]; s1_1[label="Program\nTryStatement\nBlockStatement\nThrowStatement\nIdentifier (err)"]; s1_2[label="ThrowStatement:exit"]; s1_3[style="rounded,dashed,filled",fillcolor="#FF9800",label="<>\nBlockStatement:exit"]; diff --git a/tests/fixtures/code-path-analysis/try--try-finally-4.js b/tests/fixtures/code-path-analysis/try--try-finally-4.js index 8fb73a39f80..4408e1a584d 100644 --- a/tests/fixtures/code-path-analysis/try--try-finally-4.js +++ b/tests/fixtures/code-path-analysis/try--try-finally-4.js @@ -32,7 +32,7 @@ digraph { node[shape=box,style="rounded,filled",fillcolor=white]; initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25]; final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25]; - thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize]; + thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize=true]; s1_1[label="Program\nTryStatement\nBlockStatement\nTryStatement\nBlockStatement\nIfStatement\nIdentifier (a)"]; s1_3[label="BlockStatement\nReturnStatement"]; s1_4[style="rounded,dashed,filled",fillcolor="#FF9800",label="<>\nBlockStatement:exit"]; diff --git a/tests/fixtures/code-path-analysis/try--try-finally-5.js b/tests/fixtures/code-path-analysis/try--try-finally-5.js index 0081ed8777e..ecf8a6ec5f5 100644 --- a/tests/fixtures/code-path-analysis/try--try-finally-5.js +++ b/tests/fixtures/code-path-analysis/try--try-finally-5.js @@ -31,7 +31,7 @@ digraph { node[shape=box,style="rounded,filled",fillcolor=white]; initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25]; final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25]; - thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize]; + thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize=true]; s1_1[label="Program\nTryStatement\nBlockStatement\nTryStatement\nBlockStatement\nIfStatement\nIdentifier (a)"]; s1_3[label="BlockStatement\nReturnStatement"]; s1_4[style="rounded,dashed,filled",fillcolor="#FF9800",label="<>\nBlockStatement:exit"];