Skip to content

Commit

Permalink
Fix config creation
Browse files Browse the repository at this point in the history
  • Loading branch information
blopker committed Apr 4, 2024
1 parent 621adb1 commit ca398fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class Config {
configDir.createSync(recursive: true);
}
if (!configFile.existsSync() || configFile.lengthSync() == 0) {
writeConfig(signal.value);
configFile.writeAsStringSync(jsonEncode(signal.value.toJson()));
}
}

Expand Down

0 comments on commit ca398fc

Please sign in to comment.