Skip to content

Commit

Permalink
Minor log fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
timolins committed Nov 15, 2016
1 parent 7785623 commit 954f84c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/hyperlayout
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const env = process.env
// Read json file
const readJson = (dir, file) => JSON.parse(readFileSync(`${dir}/${file}`, 'utf8'))

// Check if user has hyperlayout plugin installed
const isPluginInstalled = () => {
const path = resolve(homedir(), '.hyper.js')
try {
Expand Down Expand Up @@ -92,7 +93,7 @@ function start() {
}

if (!isPluginInstalled() && !env.HYPERLAYOUT) {
console.log(`Can't find hyperlayout plugin in ~/.hyper.js.\n\You can install it with: $ hpm install hyperlayout`)
console.log(`Can't find hyperlayout plugin in ~/.hyper.js.\n\nYou can install it with: $ hpm install hyperlayout`)
return
}

Expand Down

0 comments on commit 954f84c

Please sign in to comment.