diff --git a/main.js b/main.js index 449cfe9..fb30f09 100644 --- a/main.js +++ b/main.js @@ -1,16 +1,16 @@ -/* +/* * This file is a part of "NMIG" - the database migration tool. - * + * * Copyright 2015 Anatoly Khaytovich - * - * @author Anatoly Khaytovich + * + * @author Anatoly Khaytovich */ 'use strict'; const fs = require('fs'); const fmtp = require('./migration/fmtp/FromMySQL2PostgreSQL'); const nmig = new fmtp.FromMySQL2PostgreSQL(); -fs.readFile(__dirname + '/config.json', function(error, data) { +fs.readFile(__dirname + '/config.json', (error, data) => { if (error) { console.log('\n\t--Cannot run migration\nCannot read configuration info from ' + __dirname + '/config.json'); } else { @@ -25,4 +25,3 @@ fs.readFile(__dirname + '/config.json', function(error, data) { } } }); -