mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Fix regression on adding the copyright comment header to minified builds.
Former-commit-id: b3ec50141716e9132ea629de3a14c22f718d25ab
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
function postprocess(source) {
|
function postprocess(source) {
|
||||||
// exit early if snippet isn't found
|
// exit early if snippet isn't found
|
||||||
var snippet = /VERSION\s*:\s*([\'"])(.*?)\1/.exec(source);
|
var snippet = /VERSION\s*[=:]\s*([\'"])(.*?)\1/.exec(source);
|
||||||
if (!snippet) {
|
if (!snippet) {
|
||||||
return source;
|
return source;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user