 href={error.file}>{error.file}</a>
			<pre>{error.message}</pre>
		{/each}
	</div>
{/if}

{#if warnings.length}
	<div class="warnings detail">
		<h2 style="color: rgb(200,200,0)">
			{pl('warning', warnings.length)}

			{#if duplicateWarnings}
				<small>{pl('duplicate warning', duplicateWarnings)} not shown</small>
			{/if}
		</h2>

		{#each warnings.filter(x => !x.duplicate) as warning}
			<a on:click="reveal(event, warning)" href={warning.file}>{warning.file}</a>
			<pre>{warning.message}</pre>
		{/each