Renamed core/server/data/export to core/server/data/exporter

no issue

- i'vejust renamed the folder
- it makes more sense
  - data/importer
  - data/exporter
This commit is contained in:
kirrg001 2018-07-20 15:59:54 +02:00 committed by Katharina Irrgang
parent ed0dc191b2
commit 529bec8089
7 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@ const Promise = require('bluebird'),
_ = require('lodash'),
pipeline = require('../lib/promise/pipeline'),
localUtils = require('./utils'),
exporter = require('../data/export'),
exporter = require('../data/exporter'),
importer = require('../data/importer'),
backupDatabase = require('../data/db/backup'),
models = require('../models'),

View File

@ -26,7 +26,7 @@ var _ = require('lodash'),
subscribers = require('./subscribers'),
authentication = require('./authentication'),
uploads = require('./upload'),
exporter = require('../data/export'),
exporter = require('../data/exporter'),
slack = require('./slack'),
webhooks = require('./webhooks'),
oembed = require('./oembed'),

View File

@ -6,7 +6,7 @@ var fs = require('fs-extra'),
config = require('../../config'),
common = require('../../lib/common'),
urlService = require('../../services/url'),
exporter = require('../export'),
exporter = require('../exporter'),
writeExportFile,
backup;

View File

@ -4,7 +4,7 @@ var should = require('should'),
_ = require('lodash'),
// Stuff we are testing
exporter = require('../../server/data/export'),
exporter = require('../../server/data/exporter'),
ghostVersion = require('../../server/lib/ghost-version'),
sandbox = sinon.sandbox.create();

View File

@ -4,7 +4,7 @@ var should = require('should'),
_ = require('lodash'),
fs = require('fs-extra'),
models = require('../../../../server/models'),
exporter = require('../../../../server/data/export'),
exporter = require('../../../../server/data/exporter'),
backupDatabase = rewire('../../../../server/data/db/backup'),
sandbox = sinon.sandbox.create();

View File

@ -4,7 +4,7 @@ var should = require('should'),
Promise = require('bluebird'),
db = require('../../../../server/data/db'),
common = require('../../../../server/lib/common'),
exporter = rewire('../../../../server/data/export'),
exporter = rewire('../../../../server/data/exporter'),
schema = require('../../../../server/data/schema'),
models = require('../../../../server/models'),
schemaTables = Object.keys(schema.tables),