From 18a02c0f7923a9d23c6dc5ac1c3a0dfe03d03f10 Mon Sep 17 00:00:00 2001 From: Carter Snook Date: Tue, 25 May 2021 08:01:49 -0500 Subject: [PATCH] cleanup(test_plugin): use else if statement (#10718) --- test_plugin/tests/test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test_plugin/tests/test.js b/test_plugin/tests/test.js index 5e0e6d5a48..2a2fa66b3a 100644 --- a/test_plugin/tests/test.js +++ b/test_plugin/tests/test.js @@ -9,8 +9,7 @@ let filenamePrefix = "lib"; if (Deno.build.os === "windows") { filenameSuffix = ".dll"; filenamePrefix = ""; -} -if (Deno.build.os === "darwin") { +} else if (Deno.build.os === "darwin") { filenameSuffix = ".dylib"; }