Skip to content

Commit

Permalink
Runs prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Maël Nison committed Nov 20, 2018
1 parent 27d6b1a commit cc4fd17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/package-linker.js
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ export default class PackageLinker {
const range = peerDeps[peerDepName];
const meta = peerDepsMeta && peerDepsMeta[peerDepName];

const isOptional = meta && meta.optional ? true : false;
const isOptional = !!(meta && meta.optional);

const peerPkgs = this.resolver.getAllInfoForPackageName(peerDepName);

Expand Down
3 changes: 1 addition & 2 deletions src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ export type CLIFunction = (config: Config, reporter: Reporter, flags: Object, ar
type _CLIFunctionReturn = boolean;
export type CLIFunctionReturn = ?_CLIFunctionReturn | Promise<?_CLIFunctionReturn>;

export type DependencyMeta = {
};
export type DependencyMeta = {};

export type DependenciesMeta = {
[name: string]: DependencyMeta,
Expand Down

0 comments on commit cc4fd17

Please sign in to comment.