Skip to content
This repository was archived by the owner on Jan 27, 2019. It is now read-only.

Commit e4990b3

Browse files
committed
Merge pull request #34 from johnotander/dont-strip-www-in-cli
Don't strip www in the cli as well, 1.2.1
2 parents af0cf1a + 97d5f71 commit e4990b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/getcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ program
1010
.command('* <url>')
1111
.action(function(url) {
1212
if(url) {
13-
url = normalizeUrl(url);
13+
url = normalizeUrl(url, { stripWWW: false });
1414
getCss(url, { verbose: true }).then(function(css) {
1515
console.log(css.css);
1616
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "get-css",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Get CSS from a URL",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)