Skip to content

Commit

Permalink
test precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
schnogz committed Jul 17, 2018
1 parent 921dd7f commit 9b0b361
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"lint-staged": {
"*.{js,json}": [
"yarn prettier && yarn lint:fix",
"prettier --write && eslint --fix",
"git add"
]
},
Expand All @@ -54,6 +54,7 @@
"coverage:core": "yarn workspace blockchain-wallet-v4 coverage",
"coverage:frontend": "yarn workspace blockchain-wallet-v4-frontend coverage",
"fix": "cross-env yarn prettier && yarn lint:fix && yarn test:components:update && yarn test:frontend:update",
"fix:precommit": "prettier && yarn lint:fix",
"link:resolved:paths": "yarn wsrun link:resolved:paths --exclude-missing",
"lint": "eslint --cache './packages/*/src/**/*.js'",
"lint:components": "eslint './packages/blockchain-info-components/src/**/*.js'",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,37 +18,37 @@ const Container = styled.div`

const link = (
<Link
href='https://support.blockchain.com/hc/en-us/requests/new'
target='_blank'
size='16px'
href="https://support.blockchain.com/hc/en-us/requests/new"
target="_blank"
size="16px"
weight={300}
>
<FormattedMessage
id='buysell.general.failure.here'
defaultMessage='here.'
id="buysell.general.failure.here"
defaultMessage="here."
/>
</Link>
)

const Failure = e => (
<Container>
<Text weight={300} size='16px'>
<Text weight={300} size="16px">
<FormattedMessage
id='buysell.general.failure.message'
defaultMessage='Sorry, an error has occurred while connecting to your exchange partner.'
id="buysell.general.failure.message"
defaultMessage="Sorry, an error has occurred while connecting to your exchange partner."
/>
</Text>
<Text weight={300} size='16px'>
<Text weight={300} size="16px">
<FormattedMessage
id='buysell.general.failure.message2'
defaultMessage='If the problem continues, please reach out to our support team {supportLink}'
id="buysell.general.failure.message2"
defaultMessage="If the problem continues, please reach out to our support team {supportLink}"
values={{ supportLink: link }}
/>
</Text>
<Text weight={300} size='14px'>
<Text weight={300} size="14px">
<FormattedMessage
id='buysell.general.failure.message3'
defaultMessage='Error code: {err}'
id="buysell.general.failure.message3"
defaultMessage="Error code: {err}"
values={{ err: path(['error', 'message'], e) }}
/>
</Text>
Expand Down
2 changes: 2 additions & 0 deletions packages/blockchain-wallet-v4/src/coinSelection/coin.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export const TX_INPUT_PUBKEYHASH = 106
export const TX_OUTPUT_BASE = 8 + 1
export const TX_OUTPUT_PUBKEYHASH = 25

let test = 'unused';

export class Coin extends Type {
toString () {
return `Coin(${this.value})`
Expand Down

0 comments on commit 9b0b361

Please sign in to comment.