Skip to content

Commit

Permalink
Just Update Prettier™
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Jan 9, 2019
1 parent 8e1a5ff commit 3bd4bdd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
6 changes: 3 additions & 3 deletions plugin.ts
Expand Up @@ -100,9 +100,9 @@ export class ExternalModuleNamePlugin extends ConverterComponent {
this.moduleRenames.forEach(item => {
let renaming = <ContainerReflection>item.reflection;
// Find an existing module that already has the "rename to" name. Use it as the merge target.
let mergeTarget = <ContainerReflection>refsArray.filter(
ref => ref.kind === renaming.kind && ref.name === item.renameTo,
)[0];
let mergeTarget = <ContainerReflection>(
refsArray.filter(ref => ref.kind === renaming.kind && ref.name === item.renameTo)[0]
);

// If there wasn't a merge target, just change the name of the current module and exit.
if (!mergeTarget) {
Expand Down
9 changes: 2 additions & 7 deletions tsconfig.json
Expand Up @@ -7,11 +7,6 @@
"outDir": "./",
"experimentalDecorators": true
},
"files": [
"plugin.ts",
"getRawComment.ts"
],
"exclude": [
"node_modules"
]
"files": ["plugin.ts", "getRawComment.ts"],
"exclude": ["node_modules"]
}

0 comments on commit 3bd4bdd

Please sign in to comment.