@browserbasehq/bb9
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -31,9 +31,6 @@ #!/usr/bin/env node | ||
const destPath = path.join(projectPath, file); | ||
const stats = yield fs.stat(sourcePath); | ||
if (stats.isFile()) { | ||
yield fs.copyFile(sourcePath, destPath); | ||
} | ||
else if (stats.isDirectory()) { | ||
yield fs.cp(sourcePath, destPath, { recursive: true }); | ||
} | ||
// Read and process Node template | ||
let source = readFileSync(sourcePath, "utf8"); | ||
source = source.replace("${projectName}", projectName); | ||
yield fs.writeFile(destPath, source); | ||
} | ||
@@ -40,0 +37,0 @@ } |
{ | ||
"name": "@browserbasehq/bb9", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "", | ||
@@ -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
5339
119