---
title: "cli-weather"
date: 2017-06-19T22:15:00
date_display: Jun 19, 2017
---

Patch pour supprimer la pub à propos de DarkSky.net dans [cli-weather](https://github.com/apizzimenti/cli-weather) :

```sh
lib/weather/Output.js       2017-06-19 16:55:36.784344203 +0200                                   
@@ -352,7 +352,7 @@      
     console.log(table.toString());                
     this.warnings();    
     // credit to DarkSky.net; if I hadn't seen a reddit thread with this api in it last year, this project wouldn't exist
-    //console.log(chalk.dim("Powered by DarkSky.net")); => fuck-it ! I dont like this pub in my terminal :p
+    console.log(chalk.dim("Powered by DarkSky.net"));                                                
     console.log();      
                         
     process.exit(0);   
```