Comparing version 2.1.5 to 2.1.6
@@ -68,2 +68,3 @@ #!/usr/bin/env node | ||
const spinner = ora(chalk.blueBright('Setting everything up...')).start(); | ||
const delay = (ms) => new Promise(resolve => setTimeout(resolve, ms)); | ||
try { | ||
@@ -98,2 +99,3 @@ if (useLocalRepo) { | ||
if (!keepRepo && !useLocalRepo) { | ||
yield delay(3000); | ||
fs_1.default.rmSync(tempDir, { recursive: true, force: true }); | ||
@@ -100,0 +102,0 @@ spinner.succeed(chalk.greenBright('Temporary repository has been deleted.')); |
{ | ||
"name": "repo2pdf", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"description": "A Node.js utility for generating a PDF document from a GitHub repository", | ||
@@ -5,0 +5,0 @@ "main": "dist/clone.js", |
@@ -81,3 +81,2 @@ #!/usr/bin/env node | ||
let fileCount = 0; | ||
@@ -88,2 +87,3 @@ | ||
const spinner = ora(chalk.blueBright('Setting everything up...')).start(); | ||
const delay = (ms: number) => new Promise(resolve => setTimeout(resolve, ms)); | ||
@@ -137,2 +137,3 @@ try { | ||
if (!keepRepo && !useLocalRepo) { | ||
await delay(3000); | ||
fs.rmSync(tempDir, { recursive: true, force: true }); | ||
@@ -139,0 +140,0 @@ spinner.succeed( |
Sorry, the diff of this file is not supported yet
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
77484
1229