Skip to content

Commit

Permalink
fix: Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
robinnorth authored and mob-sakai committed Sep 4, 2020
1 parent eda5693 commit e673da8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/* istanbul ignore if */
if (process.version.match(/v(\d+)\./)[1] < 8) {
console.error('git-snapthot: Node v8 or greater is required. `git-snapthot` did not run.');
console.error('git-snapthot: Node v8 or greater is required. `git-snapshot` did not run.');
} else {
const gitSnapshot = require('..');
const options = require('./options');
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ async function gitSnapshot(argv) {
await git(['checkout', '-B', branch, workBranch], onWorktreeOpts);
}

// Completed successflly.
console.log(chalk.green(chalk.bold(`completed successflly${dryRun ? ' in dry-run mode' : ''}`)));
// Completed successfully.
console.log(chalk.green(chalk.bold(`completed successfully${dryRun ? ' in dry-run mode' : ''}`)));
} catch (error) {
failed = true;
console.error(chalk.red(error.message));
Expand Down

0 comments on commit e673da8

Please sign in to comment.