Skip to content

Commit bc96831

Browse files
author
Valentin Clavreul
committed
Removed a useless escape
1 parent 0b9065a commit bc96831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Task/File/FileMoverTask.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ protected function makeFilenameUnique($dest)
8787
$fs = new Filesystem();
8888
$i = 1;
8989
while ($fs->exists($dest)) {
90-
if (preg_match('/^(.*?)(-\d+)?(\.[^\.]*)$/', $dest, $matches)) {
90+
if (preg_match('/^(.*?)(-\d+)?(\.[^.]*)$/', $dest, $matches)) {
9191
$dest = $matches[1].'-'.$i.$matches[3];
9292
++$i;
9393
} else {

0 commit comments

Comments
 (0)