lib/init.js
function endDialog(success, content) {
    if (success) {
        createPackageFile(content);
        process.stdout.write('Succesfully created gas-include.json');
        checkbox.display('green');
        process.exit(0);
    } else {
        process.stdout.write('Failed to create gas-include.json');
        checkbox.display('red');
        process.exit(1);
    }
}
function endDialog(success, content) {
    if (success) {
        createPackageFile(content);
        process.stdout.write('Succesfully created gas-include.json');
        checkbox.display('green');
        process.exit(0);
    } else {
        process.stdout.write('Failed to create gas-include.json');
        checkbox.display('red');
        process.exit(1);
    }
}
function endDialog ( success , content ) { if ( success ) { createPackageFile ( content ) ; process . stdout . write ( 'Succesfully created gas-include.json' ) ; checkbox . display ( 'green' ) ; process . exit ( 0 ) ; } else { process . stdout . write ( 'Failed to create gas-include.json' ) ; checkbox . display ( 'red' ) ; process . exit ( 1 ) ; } }
Create a package file based on the values provided

@param {String} success - Whether or not the dialog completed succesfully
@param {String} content - Package.json to create
@returns {void}
Create a package file based on the values provided