sample/gulp/gulpfile.js
function updateConfig(configXml, project) {
	return project.updateConfigXml(configXml)
	.catch((error) => {
		console.error("Project config with ID: " + project.id + " couldn't be updated.");
		console.trace(error);
		throw error;
	});
}
function updateConfig(configXml, project) {
	return project.updateConfigXml(configXml)
	.catch((error) => {
		console.error("Project config with ID: " + project.id + " couldn't be updated.");
		console.trace(error);
		throw error;
	});
}
function updateConfig ( configXml , project ) { return project . updateConfigXml ( configXml ) . catch ( ( error ) => { console . error ( "Project config with ID: " + project . id + " couldn't be updated." ) ; console . trace ( error ) ; throw error ; } ) ; }
Updates the config.xml of the project with the one provided
@param {string} configXml
@param {Project} project
@return {Promise<void>}
Updates the config . xml of the project with the one provided