Skip to content

Commit 773a579

Browse files
Merge pull request #1243 from bryceosterhaus/master
fix(js-toolkit): fix glob path construction
2 parents ebe48cc + 7640a2f commit 773a579

File tree

1 file changed

+4
-1
lines changed
  • maintenance/projects/js-toolkit/packages/liferay-npm-bundler/src/steps

1 file changed

+4
-1
lines changed

maintenance/projects/js-toolkit/packages/liferay-npm-bundler/src/steps/transform.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,10 @@ function babelifyPackage(destPkg) {
164164

165165
const prjRelPaths = findFiles(
166166
project.dir.asNative,
167-
gl.prefix(`${project.dir.asPosix}/${destPkg.dir.asPosix}/`, globs)
167+
gl.prefix(
168+
path.posix.join(project.dir.asPosix, destPkg.dir.asPosix, '/'),
169+
globs
170+
)
168171
);
169172

170173
log.debug(

0 commit comments

Comments
 (0)