mirror of
https://github.com/S2-/gitlit
synced 2025-08-06 14:10:06 +02:00
add node modules to repo
This commit is contained in:
10
app/node_modules/debug/src/index.js
generated
vendored
Normal file
10
app/node_modules/debug/src/index.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Detect Electron renderer process, which is node, but we should
|
||||
* treat as a browser.
|
||||
*/
|
||||
|
||||
if (typeof process !== 'undefined' && process.type === 'renderer') {
|
||||
module.exports = require('./browser.js');
|
||||
} else {
|
||||
module.exports = require('./node.js');
|
||||
}
|
Reference in New Issue
Block a user