aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2021-01-30 16:25:20 +0100
committerTeddy Wing2021-01-30 16:25:20 +0100
commite6bb0f67f5c16543ca84e3114e21ad4706bc78f0 (patch)
treee619a76730347a4d0ead390cbbb4113a222b237c
parent5523e3913f0eec5682e95061e05fac2777f8a6c3 (diff)
downloadextreload-e6bb0f67f5c16543ca84e3114e21ad4706bc78f0.tar.bz2
extension-targets: Use `string=` instead of `equal`
Just learned that `string=` exists, and that seems to describe the intent better than `equal`.
-rw-r--r--l/src/main.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/l/src/main.lisp b/l/src/main.lisp
index 1113373..0689107 100644
--- a/l/src/main.lisp
+++ b/l/src/main.lisp
@@ -88,8 +88,8 @@
(defun extension-targets (targets)
(labels ((extensionp (target)
- (equal (json-obj-get target "type")
- "background_page")))
+ (string= (json-obj-get target "type")
+ "background_page")))
(filter #'extensionp targets)))