aports/testing/flutter/no-lock.patch
2023-08-03 12:29:43 +00:00

19 lines
530 B
Diff

--- a/packages/flutter_tools/lib/src/cache.dart
+++ b/packages/flutter_tools/lib/src/cache.dart
@@ -280,7 +280,7 @@
bool useUnsignedMacBinaries = false;
static RandomAccessFile? _lock;
- static bool _lockEnabled = true;
+ static bool _lockEnabled = false;
/// Turn off the [lock]/[releaseLock] mechanism.
///
@@ -634,7 +634,6 @@
}
void setStampFor(String artifactName, String version) {
- getStampFileFor(artifactName).writeAsStringSync(version);
}
File getStampFileFor(String artifactName) {