Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed May 16, 2024
1 parent 30d8fd2 commit 1240869
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/services/QueryIndexItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default class QueryIndexItem {
*/
getTags() {
return parseJsonArray(this.tags)
.map(item => {
.map((item) => {
if (item.startsWith('adaptto:')) {
return item.substring('adaptto:'.length);
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/utils/path.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export function externalizeXWalkPrefixLink(pathName) {
}
return url.toString();
}
else if (externalized.endsWith('/index')) {
if (externalized.endsWith('/index')) {
return externalized.substring(0, externalized.length - 'index'.length);
}
return externalized;
Expand Down

0 comments on commit 1240869

Please sign in to comment.