mirror of
https://github.com/S2-/gitlit
synced 2025-08-04 13:10:09 +02:00
add node modules to repo
This commit is contained in:
19
app/node_modules/electron-download/build/cli.js
generated
vendored
Executable file
19
app/node_modules/electron-download/build/cli.js
generated
vendored
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
|
||||
'use strict';
|
||||
|
||||
var download = require('./');
|
||||
var minimist = require('minimist');
|
||||
|
||||
var opts = minimist(process.argv.slice(2));
|
||||
|
||||
if (opts['strict-ssl'] === false) {
|
||||
opts.strictSSL = false;
|
||||
}
|
||||
|
||||
download(opts, function (err, zipPath) {
|
||||
if (err) throw err;
|
||||
console.log('Downloaded zip:', zipPath);
|
||||
process.exit(0);
|
||||
});
|
Reference in New Issue
Block a user