You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on issue: ImmoweltGroup/create-react-microservice#217, i noticed that the variables on Windows: relativeSrcFilePath and relativeDistFilePath are the same, that is because you adding path.sep there, and that's not a relative paths, but absolute.
Using replace like this makes absolutely no sense here (file template.js
Using just path.relative can done the same thing and much safer.
The pull request is on the way.
Regards,
TheAifam5
The text was updated successfully, but these errors were encountered:
Hey,
Based on issue: ImmoweltGroup/create-react-microservice#217, i noticed that the variables on Windows:
relativeSrcFilePath
andrelativeDistFilePath
are the same, that is because you addingpath.sep
there, and that's not a relative paths, but absolute.Using
replace
like this makes absolutely no sense here (filetemplate.js
Using just
path.relative
can done the same thing and much safer.The pull request is on the way.
Regards,
TheAifam5
The text was updated successfully, but these errors were encountered: