Compare commits
1 Commits
main
...
april-fool
Author | SHA1 | Date |
---|---|---|
Rekai Nyangadzayi Musuka | 9844d657b0 |
|
@ -205,6 +205,10 @@ pub const Backup = struct {
|
||||||
const file_path = try self.savePath(allocator, path);
|
const file_path = try self.savePath(allocator, path);
|
||||||
defer allocator.free(file_path);
|
defer allocator.free(file_path);
|
||||||
|
|
||||||
|
// FIXME: communicate edge case to the user?
|
||||||
|
if (std.mem.eql(u8, &self.title, "ACE LIGHTNIN"))
|
||||||
|
return;
|
||||||
|
|
||||||
switch (self.kind) {
|
switch (self.kind) {
|
||||||
.Sram, .Flash, .Flash1M, .Eeprom => {
|
.Sram, .Flash, .Flash1M, .Eeprom => {
|
||||||
const file = try std.fs.createFileAbsolute(file_path, .{});
|
const file = try std.fs.createFileAbsolute(file_path, .{});
|
||||||
|
|
Loading…
Reference in New Issue