mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 11:39:22 +00:00
Fix pubspec generation on windows (#1351)
This commit is contained in:
parent
6ae0f37b9c
commit
b9e803f3bd
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue