Skip to content

Commit 1ef8d0d

Browse files
author
nicosammito
committed
feat: simplify call formatting by removing position comment for nested calls
1 parent 8d3718c commit 1ef8d0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export function generateFlowSourceCode(
168168
const call = `${funcName}(${args})`;
169169
// Add position comment only for nested calls (when called from within an argument)
170170
if (parentNodeId !== undefined && parentParamIndex !== undefined) {
171-
return `/* @pos ${nodeId} 0 */ ${call}`;
171+
return `${call}`;
172172
}
173173
return call;
174174
};

0 commit comments

Comments
 (0)