Comparing version 1.2.1 to 1.3.0
10
index.js
@@ -13,3 +13,2 @@ #!/usr/bin/env node | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
const qoa = require('qoa'); | ||
@@ -19,2 +18,3 @@ const Conf = require('conf'); | ||
const symbols = require('log-symbols'); | ||
const path = require('path'); | ||
@@ -307,7 +307,7 @@ const config = new Conf(); | ||
if (config.get('issue_template') === true) { | ||
if (!fs.existsSync('./.github/ISSUE_TEMPLATE')) { | ||
fs.mkdirSync('./.github/ISSUE_TEMPLATE'); | ||
if (!fs.existsSync(path.join(__dirname,'.github','ISSUE_TEMPLATE'))) { | ||
fs.mkdirSync(path.join(__dirname,'.github','ISSUE_TEMPLATE')); | ||
} | ||
await write_files( | ||
"./.github/ISSUE_TEMPLATE", | ||
path.join(__dirname,'.github','ISSUE_TEMPLATE'), | ||
issue.bug(), | ||
@@ -318,3 +318,3 @@ "bug_report", | ||
await write_files( | ||
"./.github/ISSUE_TEMPLATE", | ||
path.join(__dirname,'.github','ISSUE_TEMPLATE'), | ||
issue.feature(), | ||
@@ -321,0 +321,0 @@ "feature_request", |
{ | ||
"name": "qikstart", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "CLI tool to kick-start a GitHub repository (LICENSE,CODE-OF-CONDUCT,README,ISSUE-TEMPLATE and many more..)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
157190