sample/gulp/gulpfile.js
function checkProjectCompilationWithId(projectId, platform) {
	return fetchProject(projectId)
	.then((project) => {
		return checkProjectCompilation(project, platform);
	})
	.catch((error) => {
		console.trace(error);
		throw error;
	});
}
function checkProjectCompilationWithId(projectId, platform) {
	return fetchProject(projectId)
	.then((project) => {
		return checkProjectCompilation(project, platform);
	})
	.catch((error) => {
		console.trace(error);
		throw error;
	});
}
function checkProjectCompilationWithId ( projectId , platform ) { return fetchProject ( projectId ) . then ( ( project ) => { return checkProjectCompilation ( project , platform ) ; } ) . catch ( ( error ) => { console . trace ( error ) ; throw error ; } ) ; }
Logs the result of the latest platform compilation of the project with the ID provided
@param {string} projectId
@param {string} platform
@return {Promise<void>}
Logs the result of the latest platform compilation of the project with the ID provided