1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 10:22:31 +01:00

add reset function for configstore

This commit is contained in:
Mikael Finstad 2021-04-08 22:37:48 +07:00
parent bd6772c405
commit d4a9f83c9d
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

View File

@ -85,8 +85,13 @@ function set(key, val) {
else store.set(key, val);
}
function reset(key) {
set(key, defaults[key]);
}
module.exports = {
init,
get,
set,
reset,
};