Skip to content

Commit 58ad0d7

Browse files
committed
Fix for eslint
1 parent 7dbc086 commit 58ad0d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/package.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ module.exports = function(grunt) {
2222
var pathInstall = pathPackage + '/';
2323
if (pathVendor) {
2424
// Make sure install path is relative to vendor location.
25-
var regex = new RegExp('^' + pathVendor + '/');
26-
pathInstall = pathInstall.replace(regex, '');
25+
var regexVendor = new RegExp('^' + pathVendor + '/');
26+
pathInstall = pathInstall.replace(regexVendor, '');
2727
}
2828
var regex = new RegExp('^' + pathBuild + '/');
2929
for (var key in composer.extra['installer-paths']) {

0 commit comments

Comments
 (0)