Skip to content

Commit

Permalink
style(arch): arenamed icon files to match convention
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasNewman committed May 20, 2024
1 parent 7c9e0e5 commit e9ca618
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/mermaid/src/mermaidAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ function initialize(options: MermaidConfig = {}) {
options.iconLibraries.forEach(async (library) => {

Check failure on line 536 in packages/mermaid/src/mermaidAPI.ts

View workflow job for this annotation

GitHub Actions / lint

Promise returned in function argument where a void return was expected
if (typeof (library) === 'string') {
if (library === 'aws:full') {
const { default: awsFull } = await import('./rendering-util/svg/aws/aws_full.js');
const { default: awsFull } = await import('./rendering-util/svg/aws/awsFull.js');
registerIcons(awsFull);
}
} else {
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/mermaid/src/rendering-util/svg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import internet from './default/internet.js';
import cloud from './default/cloud.js';
import unknown from './default/unknown.js';
import blank from './default/blank.js';
import awsCommon from './aws/aws_common.js';
import digitalOcean from './digitial-ocean/digital_ocean.js';
import awsCommon from './aws/awsCommon.js';
import digitalOcean from './digitial-ocean/digitalOcean.js';
import github from './github/github.js';

const defaultIconLibrary: IconLibrary = {
Expand Down

0 comments on commit e9ca618

Please sign in to comment.