vincentcox / StaCoAn

StaCoAn is a crossplatform tool which aids developers, bugbounty hunters and ethical hackers performing static code analysis on mobile applications.
MIT License
829 stars 131 forks source link

Quick fix for undefined variable when running without a server #44

Closed Ayowel closed 6 years ago

Ayowel commented 6 years ago

Hi,

Just a quick fix due to the fact that a variable is not defined when running without a server.

Might make something cleaner later, it's just so that the program actually works. Is the fact that the check for whether the server should run is in the server() function intentional ? Otherwise, I might just take it out.

vincentcox commented 6 years ago

I made a fix in develop for this. I shove some code back and forth to make it more structured. Thank you for the proposal, I looked over that during the testing!