#!/usr/bin/env node

const currentNodeVersion = process.versions.node;
const semver = currentNodeVersion.split('.');
const major = semver[0];

console.error('[neo-mfs] You are running Node ' + currentNodeVersion + '.');

if (major < 6) {
    console.error('[neo-mfs] Please update your version of Node to 6 or higher.');
    process.exit(1);
}

const task = process.argv.length > 1 ? process.argv[2] : undefined;
console.log('[neo-mfs] Starting task: ' + task);

const gtasks = require('./index');
gtasks.series(task, function (done) {
    console.log('[neo-mfs] Finished task: ' + task);
    done();
})();

#!/usr/bin/env node

const currentNodeVersion = process.versions.node;
const semver = currentNodeVersion.split('.');
const major = semver[0];

console.error('[neo-mfs] You are running Node ' + currentNodeVersion + '.');

if (major < 6) {
    console.error('[neo-mfs] Please update your version of Node to 6 or higher.');
    process.exit(1);
}

const task = process.argv.length > 1 ? process.argv[2] : undefined;
console.info('[neo-mfs] Starting task: ' + task);

const gtasks = require('./index');
gtasks.series(task, function (done) {
    console.info('[neo-mfs] Finished task: ' + task);
    done();
})();

Switch to LF-ending, change console.log to make it commitable
Switch to LF-ending, change console.log to make it commitable
