Skip to content

Commit

Permalink
Update validate-plugin-entry.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joethei authored May 6, 2024
1 parent 469a1e7 commit ea1df44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate-plugin-entry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
addError(`It seems like you made a typo in the repository field \`${plugin.repo}\`.`);
}
if (plugin.id.toLowerCase().startsWith('obsidian')) {
if (plugin.id.toLowerCase().includes('obsidian')) {
addError(`Please don't use the word \`obsidian\` in the plugin ID. The ID is used for your plugin's folder so keeping it short and simple avoids clutter and helps with sorting.`);
}
if (plugin.id.toLowerCase().endsWith('plugin')) {
Expand Down

0 comments on commit ea1df44

Please sign in to comment.