Skip to content

Commit d156c84

Browse files
committed
chore: Try forcing auto crlf on
1 parent 476670f commit d156c84

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
continue-on-error: true
2424
runs-on: ${{ matrix.os }}
2525
steps:
26+
- if: ${{ matrix.os == 'windows-latest' }}
27+
run: git config --global core.autocrlf true
2628
- uses: actions/checkout@v3
2729
- uses: dart-lang/setup-dart@v1
2830
- uses: ilammy/msvc-dev-cmd@v1

scripts/build_helpers/bin/build_dart.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ Future<bool> _patchDartSdk() async {
160160
final logger = BuildToolsLogger.shared;
161161
final result = await inDir('dart-sdk/sdk', () async {
162162
logger.i("Patching the Dart SDK to create libdart");
163-
var result = await Process.run('git',
164-
['apply', '--reject', '--whitespace=fix', '../../dart_sdk.patch'],
163+
var result = await Process.run(
164+
'git', ['apply', '--whitespace=fix', '../../dart_sdk.patch'],
165165
runInShell: true);
166166
logger.d("[patch-stdout] ${result.stdout}");
167167
logger.d("[patch-stderr] ${result.stderr}");

0 commit comments

Comments
 (0)