Socket
Socket
Sign inDemoInstall

1n1t

Package Overview
Dependencies
8
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.23 to 1.0.24

demo.js

40

index.js

@@ -36,39 +36,17 @@ var async = require('async');

function questions() {
module.exports = function run() {
return new Promise(function(resolve, reject) {
q(content)
.then((value) => {
resolve(output.url)
})
.catch((err) => {reject(err);})
});
}
function check() {
return new Promise(function(resolve, reject) {
B()
.then((value) => {console.log(colors.red('Git already initialized.'));})
.catch((err) => {
questions()
.then((url) => {
E(`git init && git remote add origin ${url.trim()}`)
.then((value) => {
resolve('Git init successfully.')
})
.catch((err) => {reject(err)})
q(content)
.then((value) => {
E(`git init && git remote add origin ${value.url.trim()}`)
.then((value) => {
resolve('Git init successfully.')
})
})
.catch((err) => {reject(err);})
})
})
})
}
module.exports = function run() {
return new Promise(function(resolve, reject) {
check()
.then((value) => {
resolve(value)
})
.catch((err) => {
reject(err)
})
})
}
{
"name": "1n1t",
"version": "1.0.23",
"version": "1.0.24",
"description": "Create github repository in programmatically.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc