mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-01 12:04:21 +01:00
Fixed issues for linter and analyzer
This commit is contained in:
+2
-2
@@ -12,9 +12,9 @@ Future<void> main() async {
|
||||
: secretsTestPath;
|
||||
|
||||
final inoutContent = File(inputPath).readAsStringSync();
|
||||
final config = json.decode(inoutContent);
|
||||
final config = json.decode(inoutContent) as Map<String, String>;
|
||||
final output =
|
||||
'const salt = \'${config["salt"]}\';\nconst key = \'${config["key"]}\';\nconst walletSalt = \'${config["walletSalt"]}\';\nconst shortKey = \'${config["shortKey"]}\';\nconst change_now_api_key = \'${config["change_now_api_key"]}\';';
|
||||
|
||||
File(outputPath).writeAsString(output);
|
||||
await File(outputPath).writeAsString(output);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user