dawsbot / dawsbot/pluc

🐛 Deletion of entire alias file

Open
#5 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
27
Forks
1
PR merge metrics
No merged PRs in 30d

Description

> I think this is why: Under situations where `config.json` is invalid json,

The entire file is deleted upon transpilation of aliases. This is an issue because it means if you do not backup your aliases, all are gone when executing `pluc --transpile`.

A proposed fix would be to avoid writing to `config.json` if the object is empty or smaller than the previous object.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.