Skip to content

Commit

Permalink
Removed unused requires
Browse files Browse the repository at this point in the history
  • Loading branch information
coredump committed Feb 6, 2012
1 parent ac118c8 commit 3b62392
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions scripts/df.coffee
@@ -1,5 +1,4 @@
Exec = require('child_process').exec
util = require 'util'

module.exports = (server) ->
run = () ->
Expand All @@ -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 changes: 1 addition & 2 deletions scripts/interfaces.coffee
@@ -1,5 +1,4 @@
Fs = require 'fs'
util = require 'util'

module.exports = (server) ->
run = () ->
Expand All @@ -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 changes: 1 addition & 2 deletions src/sender.coffee
@@ -1,5 +1,4 @@
Net = require 'net'
Util = require 'util'

class Sender

Expand All @@ -25,4 +24,4 @@ class Sender
@cli.debug "Disconnected"
conn.end()

module.exports = Sender
module.exports = Sender

0 comments on commit 3b62392

Please sign in to comment.