variable scope issue in server js [pgadmin4] - Mailing list pgadmin-hackers

From Harshal Dhumal
Subject variable scope issue in server js [pgadmin4]
Date
Msg-id CAFiP3vyJzWaBBC9e+bVP29idccyojjOqwwcyzz9Uh49SQJTUNQ@mail.gmail.com
Whole thread Raw
Responses Re: variable scope issue in server js [pgadmin4]  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers
Hi,


PFA patch for server.js. Replaced ";" (semicolon) with ","  (coma) in variable declaration.

Issue: This was changing scope of all the variables declared after ";" (semicolon) from local to global and therefore affecting all other local variables with same name at different place in same file.



-- 
Harshal Dhumal
Software Engineer 



Attachment

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: PATCH: Added "Named restore point" functionality (pgAdmin4)
Next
From: Murtuza Zabuawala
Date:
Subject: Re: PATCH: Added "Named restore point" functionality (pgAdmin4)