Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
Don't need to prefix tsapibox filenames anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorblades committed Jan 22, 2020
1 parent b42bb2c commit 3b02774
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export class TypescriptApiBox extends Component {
summary: _summary(rawData),
groups,
repo: 'apollostack/apollo-client',
filepath: this.context.filepathPrefix + rawData.sources[0].fileName,
filepath: rawData.sources[0].fileName,
lineno: rawData.sources[0].line
};
}
Expand Down Expand Up @@ -352,7 +352,7 @@ export class TypescriptApiBox extends Component {
return signature.parameters.map(param => {
let name;
if (isReadableName(param.name)) {
name = param.name;
name = param.name; // eslint-disable-line prefer-destructuring
} else if (isReadableName(param.originalName)) {
name = param.originalName;
} else {
Expand Down

0 comments on commit 3b02774

Please sign in to comment.