mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
refactor(storage) rm unused: isAllowed
This commit is contained in:
parent
3b8500c410
commit
a3ce48f14f
1 changed files with 0 additions and 5 deletions
|
|
@ -7,11 +7,6 @@ const exec = require('execon');
|
|||
/* приватный переключатель возможности работы с кэшем */
|
||||
let Allowed;
|
||||
|
||||
/* функция проверяет возможно ли работать с кэшем каким-либо образом */
|
||||
module.exports.isAllowed = () => {
|
||||
return Allowed && !!localStorage;
|
||||
};
|
||||
|
||||
/**
|
||||
* allow Storage usage
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue