aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2019-05-10 01:22:44 +0800
committerGitHub <noreply@github.com>2019-05-10 01:22:44 +0800
commit5476cb8f05d0e7d402d583ef726e743451555c10 (patch)
tree41a45da197ce1c52387d7bf738ebed552814751b /lib/compress.js
parent6a30e1d6bed66512d33dbb83adc954b43fe2823e (diff)
downloadtracifyjs-5476cb8f05d0e7d402d583ef726e743451555c10.tar.gz
tracifyjs-5476cb8f05d0e7d402d583ef726e743451555c10.zip
fix corner case in `inline` (#3401)
fixes #3400
Diffstat (limited to 'lib/compress.js')
-rw-r--r--lib/compress.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js
index 4db202a3..418b1d54 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -6102,7 +6102,6 @@ merge(Compressor.prototype, {
}));
} else {
value = fixed.optimize(compressor);
- if (value === fixed) value = fixed.clone(true);
}
def.replaced++;
return value;