defiant-builder
Advanced tools
Comparing version 1.8.5 to 1.8.6
@@ -54,7 +54,7 @@ | ||
const importMapTask = async (appXmlDom, appPath, task) => { | ||
let importmap = FS.path.join(appPath, task._attributes.importmap) | ||
let importmap = FS.path.join(process.cwd(), appPath, task._attributes.importmap) | ||
let importmapDir = importmap.slice(0, importmap.lastIndexOf("/")) | ||
let iMap = require(importmap) | ||
let folder = FS.path.join(appPath, task._attributes.folder) | ||
let folder = FS.path.join(process.cwd(), appPath, task._attributes.folder) | ||
let list = await FS.listDir(folder) | ||
@@ -77,3 +77,3 @@ let matches = [] | ||
matches.push(file) | ||
updated = text.replace(regexp, ` from '${relative}';`) | ||
updated = text.replace(regexp, ` from '${relative.slice(3)}';`) | ||
} | ||
@@ -80,0 +80,0 @@ }) |
{ | ||
"name": "defiant-builder", | ||
"version": "1.8.5", | ||
"version": "1.8.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
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
60665