Skip to content

Commit

Permalink
solved fix with path on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jasegarr committed Apr 9, 2019
1 parent cbff8c4 commit 82e09d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const generateFileFromTemplate = (stuffName, resourcePath, destinyFolderPath) =>
path: (v) => {
const filePath = path.join(utils.getPackageFolder(), v);

return relative(absoluteStuffPath, filePath);
return relative(absoluteStuffPath, filePath).replace(/\\/g, '/');
}
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xtuff",
"version": "1.1.1",
"version": "1.1.2",
"description": "A dev command to create stuffs easy! (components, services, etc...)",
"keywords": "command, generator, component, service, react, stuff, files",
"repository": "https://github.com/jaumesegarra/xtuff",
Expand Down

0 comments on commit 82e09d6

Please sign in to comment.