Skip to content

Commit f692f67

Browse files
committed
removing unnecessary join
1 parent 1f7caa4 commit f692f67

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/nodes/AssemblyAssignment.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ const {
55
} = require('prettier');
66

77
const AssemblyAssignment = {
8-
print: ({ path, print }) =>
9-
join(' ', [
10-
join(', ', path.map(print, 'names')),
11-
':=',
12-
path.call(print, 'expression')
13-
])
8+
print: ({ path, print }) => [
9+
join(', ', path.map(print, 'names')),
10+
' := ',
11+
path.call(print, 'expression')
12+
]
1413
};
1514

1615
module.exports = AssemblyAssignment;

0 commit comments

Comments
 (0)