mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-01 12:04:21 +01:00
Fix pubspec generation on windows (#1351)
This commit is contained in:
+1
-1
@@ -1037,7 +1037,7 @@ Future<void> generatePubspec(
|
||||
final inputFile = File(pubspecOutputPath);
|
||||
final inputText = await inputFile.readAsString();
|
||||
final inputLines = inputText.split('\n');
|
||||
final dependenciesIndex = inputLines.indexWhere((line) => line.toLowerCase() == 'dependencies:');
|
||||
final dependenciesIndex = inputLines.indexWhere((line) => line.toLowerCase().contains('dependencies:'));
|
||||
var output = cwCore;
|
||||
|
||||
if (hasMonero) {
|
||||
|
||||
Reference in New Issue
Block a user