fix weather
This commit is contained in:
parent
88a0979562
commit
5d789b25d1
|
@ -12,5 +12,8 @@
|
|||
},{
|
||||
"key": "ctrl+b",
|
||||
"command":"workbench.action.toggleSidebarVisibility"
|
||||
},{
|
||||
"key": "ctrl+n",
|
||||
"command":"notifications.clearAll"
|
||||
}
|
||||
]
|
|
@ -8,7 +8,7 @@ OUTPUT=$(http get http://api.openweathermap.org/data/2.5/weather\?APPID\=${APPID
|
|||
# echo $APPID
|
||||
# echo $OUTPUT
|
||||
|
||||
if [ $? ]
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
|
Reference in New Issue