Skip to content

Commit 8945448

Browse files
committed
Merge branch '3.4' into 4.3
* 3.4: Simplify example of GulpBusterVersionStrategy
2 parents 3b99417 + 19f2aa2 commit 8945448

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

frontend/custom_version_strategy.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,7 @@ version string::
9494
return $path;
9595
}
9696

97-
$versionized = sprintf($this->format, ltrim($path, '/'), $version);
98-
99-
if ($path && '/' === $path[0]) {
100-
return '/'.$versionized;
101-
}
102-
103-
return $versionized;
97+
return sprintf($this->format, $path, $version);
10498
}
10599

106100
private function loadManifest()

0 commit comments

Comments
 (0)