mirror of
https://github.com/scratchfoundation/gh-pages.git
synced 2024-12-01 03:27:05 -05:00
commit
086bd22163
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ var path = require('path');
|
||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
|
|
||||||
var Q = require('q');
|
var Q = require('q');
|
||||||
var wrench = require('wrench');
|
var rimraf = require('rimraf');
|
||||||
var globby = require('globby');
|
var globby = require('globby');
|
||||||
|
|
||||||
var git = require('./git');
|
var git = require('./git');
|
||||||
|
@ -241,5 +241,5 @@ exports.publish = function publish(basePath, config, callback) {
|
||||||
* Clean the cache directory.
|
* Clean the cache directory.
|
||||||
*/
|
*/
|
||||||
exports.clean = function clean() {
|
exports.clean = function clean() {
|
||||||
wrench.rmdirSyncRecursive(getCacheDir(), true);
|
rimraf.sync(getCacheDir());
|
||||||
};
|
};
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
"graceful-fs": "4.1.2",
|
"graceful-fs": "4.1.2",
|
||||||
"q": "1.4.1",
|
"q": "1.4.1",
|
||||||
"q-io": "1.13.2",
|
"q-io": "1.13.2",
|
||||||
"wrench": "1.5.8"
|
"rimraf": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "^3.4.1",
|
"chai": "^3.4.1",
|
||||||
|
|
Loading…
Reference in a new issue