@architect/create
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -5,2 +5,10 @@ # Architect Create changelog | ||
## [1.3.3] 2021-01-18 | ||
### Fixed | ||
- Fixed crash in Windows on invalid regexp, fixes #1052, thanks @kevin4dhd! | ||
--- | ||
## [1.3.2] 2020-12-02 | ||
@@ -7,0 +15,0 @@ |
{ | ||
"name": "@architect/create", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Idempotently initialize Architect projects", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -83,5 +83,5 @@ let { updater } = require('@architect/utils') | ||
if (dirs.length) { | ||
let leading = new RegExp(`^${sep}`) | ||
dirs.forEach(d => { | ||
let dir = d.replace(process.cwd(), '').replace(leading, '') | ||
let dir = d.replace(process.cwd(), '') | ||
if (dir.startsWith(sep)) dir = dir.substr(1) | ||
update.done(`Created new project files in ${dir}${sep}`) | ||
@@ -88,0 +88,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
50637