@drovp/save-as-path
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -119,3 +119,2 @@ "use strict"; | ||
let outputPath = Path.resolve(inputDirname, expandTemplate(inputPath, outputExtension, { ...options, destination: template, extraVariables })); | ||
(_a = options.onOutputPath) === null || _a === void 0 ? void 0 : _a.call(options, outputPath); | ||
const samePath = isSamePath(outputPath, inputPath); | ||
@@ -144,2 +143,3 @@ if (deleteOriginal) { | ||
} | ||
(_a = options.onOutputPath) === null || _a === void 0 ? void 0 : _a.call(options, outputPath); | ||
if (deleteOriginal) | ||
@@ -146,0 +146,0 @@ await fs_1.promises.rm(inputPath, { force: true }); |
{ | ||
"name": "@drovp/save-as-path", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Drovp utility to determine path for file results.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/drovp/save-as-path", |
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