var rimraf = require('./rimraf')

function removeSync (dir) {
  return rimraf.sync(dir, {disableGlob: true})
}

function remove (dir, callback) {
  var options = {disableGlob: true}
  return callback ? rimraf(dir, options, callback) : rimraf(dir, options, function () {})
}

module.exports = {
  remove: remove,
  removeSync: removeSync
}

@@ -1,11 +1,27 @@
-var
+'use strict'%0A%0Aconst
  rimraf 
@@ -161,11 +161,13 @@
 %7B%0A  
-var
+const
  opt
@@ -317,31 +317,11 @@
 move
-: remove,%0A  removeSync:
+,%0A 
  rem

Refactor remove/Sync