Permalink
Browse files

Fixed bug in save folder script

  • Loading branch information...
davidmerfield committed Jan 10, 2019
1 parent f1423b9 commit 944bdcf805503996818f26025c930960a9bf2035
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/db/save.js
@@ -1,7 +1,7 @@
require('shelljs/global');
require('../only_locally');

var fs = require('fs');
var fs = require('fs-extra');
var yesno = require('yesno');
var redis = require('redis').createClient();
var dumps = __dirname + '/dumps/user';
@@ -44,7 +44,7 @@ function main (label, callback) {

console.log('Moving database dump...');

mkdirp(dir, function(err){
fs.ensureDir(dir, function(err){

if (err) throw err;

0 comments on commit 944bdcf

Please sign in to comment.