Commit ef09d855 authored by Iuri Matias's avatar Iuri Matias Committed by aniket-engg

update for new linter rules

parent b457d7d1
...@@ -242,7 +242,8 @@ function includeVariableDeclaration (tree, step, sourceLocation, scopeId, newLoc ...@@ -242,7 +242,8 @@ function includeVariableDeclaration (tree, step, sourceLocation, scopeId, newLoc
} }
} }
}) })
} catch (_error) { } catch (error) {
console.log(error)
} }
} }
// we check here if we are at the beginning inside a new function. // we check here if we are at the beginning inside a new function.
...@@ -277,7 +278,8 @@ function includeVariableDeclaration (tree, step, sourceLocation, scopeId, newLoc ...@@ -277,7 +278,8 @@ function includeVariableDeclaration (tree, step, sourceLocation, scopeId, newLoc
// output params // output params
if (outputs) addParams(outputs, tree, scopeId, states, contractName, previousSourceLocation, stack.length, 0, 1) if (outputs) addParams(outputs, tree, scopeId, states, contractName, previousSourceLocation, stack.length, 0, 1)
} }
} catch (_error) { } catch (error) {
console.log(error)
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment