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:
parent
bd6772c405
commit
d4a9f83c9d
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user