We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ad52af commit 590c62fCopy full SHA for 590c62f
org/allPRs.ts
@@ -85,7 +85,6 @@ export const singletons = async () => {
85
86
// If no files to check after filtering, exit early
87
if (changedFiles.length === 0) {
88
- fail(`No Swift files changed. Modified files: ${danger.git.modified_files}`);
89
return;
90
}
91
@@ -96,7 +95,7 @@ export const singletons = async () => {
96
95
if (foundSingleton) {
97
// trim leading + and whitespace
98
const cleanLine = foundSingleton.replace(/^\+\s*/, '').trim();
99
- fail(`New singleton definitions are not allowed. Found: \`${cleanLine}\``);
+ fail(`New singleton definitions are not allowed. Found this line:\n\`\`\`swift\n${cleanLine}\n\`\`\``);
100
101
102
0 commit comments