lbry-desktop/web/stubs/fs.js
jessop e3c2919373 rename lbrytv to web
language and API consts

improve customization
custom homepages
get config from .env.default
custom title and logo

small changes

add pinned item to sidebar

rebase?
2020-05-25 17:21:02 -04:00

17 lines
369 B
JavaScript

function logWarning(method) {
if (process.env.NODE_ENV !== 'production') {
console.error(`Called fs.${method} on lbry.tv. This should be removed.`);
}
}
export default {
readFileSync: () => {
logWarning('readFileSync');
return undefined;
},
accessFileSync: () => {
logWarning('accessFileSync');
return undefined;
},
constants: {},
};