Skip to content

Commit f8b4ca5

Browse files
committed
feat: support Node v6 & Windows
1 parent 83dfb45 commit f8b4ca5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"presets": [
33
["env", {
44
"targets": {
5-
"node": "current"
5+
"node": "6"
66
}
77
}]
88
]

src/commands/end.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default program =>
66
.description('Go to the end of an exercise')
77
.action(async (exercise, options) => {
88
console.log('Stashing changes...')
9-
await exec(`git stash save "end exercise ${exercise}"`)
9+
await exec(`git stash -u`)
1010
console.log(`Going to the end of exercise ${exercise}`)
1111
await exec(`git checkout end-exercise-${exercise}`)
1212
console.log(`Installing dependencies...`)

src/commands/start.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default program =>
66
.description('Go to the beginning of an exercise')
77
.action(async (exercise, options) => {
88
console.log('Stashing changes...')
9-
await exec(`git stash save "start exercise ${exercise}"`)
9+
await exec(`git stash -u`)
1010
console.log(`Going to the start of exercise ${exercise}`)
1111
await exec(`git checkout start-exercise-${exercise}`)
1212
console.log(`Installing dependencies...`)

0 commit comments

Comments
 (0)