Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed unused requires

  • Loading branch information...
commit 3b6239267e667c31fade7e62f7084c50bbe9a139 1 parent ac118c8
José de Paula E. Júnior authored
3  scripts/df.coffee
View
@@ -1,5 +1,4 @@
Exec = require('child_process').exec
-util = require 'util'
module.exports = (server) ->
run = () ->
@@ -21,4 +20,4 @@ module.exports = (server) ->
statObj[key] = statArray[i] for key, i in nameArray
server.push_metric("#{metricPrefix}.#{statObj.mount_point}.#{key}",
- value) for key, value of statObj when key isnt 'mount_point'
+ value) for key, value of statObj when key isnt 'mount_point'
3  scripts/interfaces.coffee
View
@@ -1,5 +1,4 @@
Fs = require 'fs'
-util = require 'util'
module.exports = (server) ->
run = () ->
@@ -21,4 +20,4 @@ module.exports = (server) ->
interface = values[0].replace /:$/, ''
statObj = {}
statObj[key] = values[i + 1] for key, i in nameArray
- server.push_metric "#{metricPrefix}.#{interface}.#{key}", value for key, value of statObj
+ server.push_metric "#{metricPrefix}.#{interface}.#{key}", value for key, value of statObj
3  src/sender.coffee
View
@@ -1,5 +1,4 @@
Net = require 'net'
-Util = require 'util'
class Sender
@@ -25,4 +24,4 @@ class Sender
@cli.debug "Disconnected"
conn.end()
-module.exports = Sender
+module.exports = Sender
Please sign in to comment.
Something went wrong with that request. Please try again.