aboutsummaryrefslogtreecommitdiff
path: root/source/notes/2017-06-19-cli-weather.md
blob: ebf5962b9eba299a17cd8fc8747fb9593e3fb474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
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);   
```