cargo-cp-artifact
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "cargo-cp-artifact", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Copies compiler artifacts emitted by rustc by parsing Cargo metadata", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -117,3 +117,9 @@ "use strict"; | ||
await mkdir(dirname(outputFile), { recursive: true }); | ||
const outputDir = dirname(outputFile); | ||
// Don't try to create the current directory | ||
if (outputDir) { | ||
await mkdir(outputDir, { recursive: true }); | ||
} | ||
await copyFile(filename, outputFile); | ||
@@ -120,0 +126,0 @@ } |
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
14809
314