aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babel-traverse/lib/path/modification.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/babel-traverse/lib/path/modification.js')
-rw-r--r--node_modules/babel-traverse/lib/path/modification.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/babel-traverse/lib/path/modification.js b/node_modules/babel-traverse/lib/path/modification.js
index a763f6d7b..30fb165b7 100644
--- a/node_modules/babel-traverse/lib/path/modification.js
+++ b/node_modules/babel-traverse/lib/path/modification.js
@@ -58,7 +58,7 @@ function insertBefore(nodes) {
if (this.node) nodes.push(this.node);
this._replaceWith(t.blockStatement(nodes));
} else {
- throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?");
+ throw new Error("We don't know what to do with this node type. " + "We were previously a Statement but we can't fit in here?");
}
}
@@ -172,7 +172,7 @@ function insertAfter(nodes) {
if (this.node) nodes.unshift(this.node);
this._replaceWith(t.blockStatement(nodes));
} else {
- throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?");
+ throw new Error("We don't know what to do with this node type. " + "We were previously a Statement but we can't fit in here?");
}
}