Skip to content

Commit

Permalink
style: 💄 Fixes #5: Quotes around name and query
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Oct 22, 2021
1 parent 5823eec commit 39767d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Components/AddQComponent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
if (savedQueries.findIndex((q) => q.name === name) > -1) {
new Notice(`A query with named '${name}' already exists`);
new Notice(`A query with named "${name}" already exists`);
} else {
// Add new query to settings
const regexQ = regexEl.checked;
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default class MyPlugin extends Plugin {
editor.setSelections([{ anchor, head }]);
}
} else {
new Notice(`Cannot find next instance of ${currSelection}`);
new Notice(`Cannot find next instance of "${currSelection}"`);
}
}

Expand Down

0 comments on commit 39767d6

Please sign in to comment.