sample/gulp/gulpfile.js
function updateConfigWithId(configXml, projectId) {
	return fetchProject(projectId)
	.then((project) => {
		return updateConfig(configXml, project);
	})
	.catch((error) => {
		console.trace(error);
		throw error;
	});
}
function updateConfigWithId(configXml, projectId) {
	return fetchProject(projectId)
	.then((project) => {
		return updateConfig(configXml, project);
	})
	.catch((error) => {
		console.trace(error);
		throw error;
	});
}
function updateConfigWithId ( configXml , projectId ) { return fetchProject ( projectId ) . then ( ( project ) => { return updateConfig ( configXml , project ) ; } ) . catch ( ( error ) => { console . trace ( error ) ; throw error ; } ) ; }
Updates the config.xml of the project with the same ID with the XML provided
@param {string} configXml
@param {string} projectId
@return {Promise<void>}
Updates the config . xml of the project with the same ID with the XML provided