Skip to content

Commit

Permalink
style(index): Renamed some vars, adjusted spacing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Barsi committed Feb 21, 2017
1 parent 9e301ef commit 6583839
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ clear();

console.log(
chalk.yellow(
figlet.textSync('Git Velocity', { horizontalLayout: 'full' })
figlet.textSync('Git Velocity', {
horizontalLayout: 'full'
})
)
);

Expand All @@ -36,9 +38,9 @@ async(function* () {
const { type } = yield getRepositoryType();
const commits = Commits(type);

const isTokenInitialized = yield commits.isAuthorized();
const isAuthorized = yield commits.isAuthorized();

if (!isTokenInitialized) {
if (!isAuthorized) {
console.log();
console.log(chalk.white('Creating auth token in root.'));

Expand Down

0 comments on commit 6583839

Please sign in to comment.