/*
    artifact generator: C:\My\wizzi\v5\apps\node_modules\wizzi-js\lib\artifacts\js\module\gen\main.js
    primary source IttfDocument: C:\My\wizzi\v5\apps\wizzi-demo\src\ittf\examples\advanced\essentials\filesystem\jobs\level_1\index.js.ittf
*/
'use strict';
var async = require('async');
var samples = [
    require('./step_1_go'), 
    require('./step_2_go')
];
function execute(callback) {
    async.series(samples, function(err, notUsed) {
        if (err) {
            var fullErr = JSON.stringify(err, null, 2);
            console.log('Error fullErr', fullErr);
            throw new Error(JSON.stringify(err, null, 2));
        }
        var msg = 'wizzi jobs - Level 1 samples - done.';
        console.log(msg);
        if (callback) {
            return callback(null, msg);
        }
    });
}
module.exports = execute;
if (typeof require != 'undefined' && require.main==module) {
    execute();
}
