Replace \r\n code with Dart SDK standard conventions. (#159346)

Also deleted a file that appeared to be unused.
This commit is contained in:
Matan Lurey
2024-11-22 11:41:08 -08:00
committed by GitHub
parent b310baf41a
commit d29a888bf2
8 changed files with 34 additions and 49 deletions

View File

@@ -1,6 +0,0 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Replace Windows line endings with Unix line endings
String standardizeLineEndings(String str) => str.replaceAll('\r\n', '\n');