Skip to content

Commit

Permalink
Merge pull request #228 from jamesgeorge007/hotfix/change-var-name
Browse files Browse the repository at this point in the history
chore: minor fix
  • Loading branch information
maticzav authored Jan 16, 2020
2 parents 22b239c + defeb41 commit 6e4325f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/emma-cli/src/components/Package.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { PureComponent } from 'react'
import { Box, Color, Text, StdinContext } from 'ink'
import opn from 'open'
import open from 'open'

import { IPackage, SearchContext, WithSearchContext } from '../algolia'
import { IDependency } from '../installer'
Expand Down Expand Up @@ -57,7 +57,7 @@ class Package extends PureComponent<
}
case ARROW_RIGHT: {
if (this.state.showDetails && pkg.repository) {
opn(pkg.repository.url)
open(pkg.repository.url)
}
return this.setState({ showDetails: true })
}
Expand Down

0 comments on commit 6e4325f

Please sign in to comment.