Skip to content

Commit

Permalink
Merge branch 'hotfix/1.5.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
Igloczek committed Dec 4, 2017
2 parents 07629ed + f1463a7 commit 95e1668
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "snowdog/frontools",
"description": "Set of front-end tools for Magento 2, based on Gulp.js",
"version": "1.5.9",
"version": "1.5.10",
"license": "MIT",
"type": "magento2-component"
}
2 changes: 1 addition & 1 deletion helper/babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = function(gulp, plugins, config, name, file) { // eslint-disable
config.projectPath + theme.dest + '/' + locale
)
.replace(
new RegExp('web\/([^_]*)$'),
new RegExp('web/([^_]*)$'),
'$1'
)
);
Expand Down
2 changes: 1 addition & 1 deletion helper/dependency-tree-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = function(plugins, file) { // eslint-disable-line func-names
filePath = result[1];

while (filePath.includes('../')) {
parentPath = parentPath.replace(/\/[^\/]+$/g, '');
parentPath = parentPath.replace(/\/[^/]+$/g, '');
filePath = filePath.replace(/\.\.\//, '');
const filePathParts = /(.*)\/(.*)/g.exec(filePath);
if (filePathParts) {
Expand Down

0 comments on commit 95e1668

Please sign in to comment.