uql-codemod 0.33.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/transform.js +1 -1
- package/package.json +1 -1
package/dist/transform.js
CHANGED
|
@@ -181,7 +181,7 @@ function dropDeclare(node, ctx) {
|
|
|
181
181
|
// break left the rest behind.
|
|
182
182
|
const text = node.getSourceFile().text;
|
|
183
183
|
let end = modifier.getEnd();
|
|
184
|
-
while (/\s/.test(text[end]
|
|
184
|
+
while (/\s/.test(text[end])) {
|
|
185
185
|
end += 1;
|
|
186
186
|
}
|
|
187
187
|
ctx.edits.push({ start: modifier.getStart(), end, text: '' });
|