Explorar o código

fix: conditions

charlie %!s(int64=3) %!d(string=hai) anos
pai
achega
fd92a53940
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gulpfile.js

+ 1 - 1
gulpfile.js

@@ -92,7 +92,7 @@ const common = {
     const IP = ip.address()
     const LOGSEQ_APP_SERVER_URL = `http://${IP}:3001`
 
-    if (typeof global.fetch != null) {
+    if (typeof global.fetch === 'function') {
       try {
         await fetch(LOGSEQ_APP_SERVER_URL)
       } catch (e) {