mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49: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 inputFile = File(pubspecOutputPath);
|
||||||
final inputText = await inputFile.readAsString();
|
final inputText = await inputFile.readAsString();
|
||||||
final inputLines = inputText.split('\n');
|
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;
|
var output = cwCore;
|
||||||
|
|
||||||
if (hasMonero) {
|
if (hasMonero) {
|
||||||
|
|
Loading…
Reference in a new issue