Skip to content

Commit 802d0f7

Browse files
committed
fix: write instead of writln for last line oh custom hosted dependency
1 parent c7f26b3 commit 802d0f7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/custom_lint/lib/src/workspace.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ String _buildDependencyConstraint(
123123
if (hosted.url != null) {
124124
result.writeln(' url: ${hosted.url}');
125125
}
126-
result.writeln(' version: ${sharedConstraint.getDisplayString()}');
127-
126+
result.write(' version: ${sharedConstraint.getDisplayString()}');
128127
return result.toString();
129128

130129
case PathDependency():

0 commit comments

Comments
 (0)