comp426-2022-fall / a02

Create a command line Node.js package that ingests API data from Open-Meteo
GNU Affero General Public License v3.0
0 stars 0 forks source link

Program Not Printing Messages #4

Closed bdhack23 closed 2 years ago

bdhack23 commented 2 years ago

My program seems to be able to print the weather information, but it's not printing the "You might need your galoshes" and "You will not need your galoshes" messages. I'm having a hard time figuring out why because my program uses args.d to obtain what day it is, and it is set as a constant. I then used if-else statements to assign the correct message to be printed based on the number of days. When it needs to print the message, I make sure to do console.log("message") but it's still not printing. Could anyone shed some light onto what may be going wrong? Am I missing something?