Skip to content

Commit

Permalink
Add asset check (#1529)
Browse files Browse the repository at this point in the history
  • Loading branch information
Isengo1989 authored Oct 23, 2024
1 parent e7cc34d commit 7bd45fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/scripts/format-code-guidelines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ for await (const entry of walk("./resources/guidelines/code/core")) {
await Promise.allSettled(formattingPromises);

function addHint(buffer, filePath) {
if (filePath.includes('/adr/assets/')) {
return buffer;
}

buffer += '\n';
buffer += '::: info\n';
buffer += 'This document represents core guidelines and has been mirrored from the core in our Shopware 6 repository.\n';
Expand Down

0 comments on commit 7bd45fc

Please sign in to comment.