mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +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) {
|
||||
// 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) {
|
||||
return source;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user