Skip to content

Commit

Permalink
feat: support Node v6 & Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Oct 23, 2017
1 parent 83dfb45 commit f8b4ca5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"presets": [
["env", {
"targets": {
"node": "current"
"node": "6"
}
}]
]
Expand Down
2 changes: 1 addition & 1 deletion src/commands/end.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default program =>
.description('Go to the end of an exercise')
.action(async (exercise, options) => {
console.log('Stashing changes...')
await exec(`git stash save "end exercise ${exercise}"`)
await exec(`git stash -u`)
console.log(`Going to the end of exercise ${exercise}`)
await exec(`git checkout end-exercise-${exercise}`)
console.log(`Installing dependencies...`)
Expand Down
2 changes: 1 addition & 1 deletion src/commands/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default program =>
.description('Go to the beginning of an exercise')
.action(async (exercise, options) => {
console.log('Stashing changes...')
await exec(`git stash save "start exercise ${exercise}"`)
await exec(`git stash -u`)
console.log(`Going to the start of exercise ${exercise}`)
await exec(`git checkout start-exercise-${exercise}`)
console.log(`Installing dependencies...`)
Expand Down

0 comments on commit f8b4ca5

Please sign in to comment.