Skip to content

Commit

Permalink
Merge pull request #240 from zbennett10/master
Browse files Browse the repository at this point in the history
removed deprecated gulp-util
  • Loading branch information
avevlad authored Jan 3, 2018
2 parents d6219c3 + ddf0ee6 commit b88f7cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,11 @@
"server"
],
"dependencies": {
"ansi-colors": "^1.0.1",
"connect": "^2.30.0",
"connect-livereload": "^0.5.4",
"event-stream": "^3.3.2",
"gulp-util": "^3.0.6",
"fancy-log": "^1.3.2",
"send": "^0.13.2",
"tiny-lr": "^0.2.1"
},
Expand Down
9 changes: 5 additions & 4 deletions src/index.coffee
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
path = require("path")
fancyLog = require("fancy-log")
colors = require("ansi-colors")
es = require("event-stream")
util = require("gulp-util")
http = require("http")
https = require("https")
fs = require("fs")
Expand Down Expand Up @@ -142,15 +143,15 @@ class ConnectApp

log: (text) ->
if !@silent
util.log util.colors.green(text)
fancyLog colors.green(text)

logWarning: (text) ->
if !@silent
util.log util.colors.yellow(text)
fancyLog colors.yellow(text)

logDebug: (text) ->
if @debug
util.log util.colors.blue(text)
fancyLog colors.blue(text)

oldMethod: (type) ->
text = 'does not work in gulp-connect v 2.*. Please read "readme" https://github.com/AveVlad/gulp-connect'
Expand Down

0 comments on commit b88f7cc

Please sign in to comment.