Skip to content

Commit

Permalink
Fix registry reference on publish success message
Browse files Browse the repository at this point in the history
  • Loading branch information
tamorim authored and drawveloper committed May 16, 2017
1 parent ba0baa6 commit 81a98b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/clients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const interceptor = (client) => new Proxy({}, {
},
})

const accountRegistry = (account: string = 'smartcheckout'): Registry => {
const accountRegistry = (account: string): Registry => {
return Registry({...options, account, endpoint: endpoint('registry')})
}

Expand All @@ -44,5 +44,5 @@ export {
router,
accountRegistry,
workspaces,
colossus
colossus,
}
2 changes: 1 addition & 1 deletion src/modules/apps/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const root = process.cwd()
const automaticTag = (version: string): string =>
version.indexOf('-') > 0 ? null : 'latest'

const publisher = (account: string) => {
const publisher = (account: string = 'smartcheckout') => {
const reg = accountRegistry(account)

const publishApp = (path: string, tag: string, manifest: Manifest): Bluebird<LoggerInstance | never> => {
Expand Down

0 comments on commit 81a98b8

Please sign in to comment.