Skip to content

Commit

Permalink
fix: conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 authored and tiensonqin committed Sep 14, 2022
1 parent 9b57580 commit fd92a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fd92a53

Please sign in to comment.