improved error messaging.. thats it for today

This commit is contained in:
Kevin Jahns 2015-11-05 17:20:27 +01:00
parent 8a2a184f30
commit 0832be2380
2 changed files with 6 additions and 3 deletions

View File

@ -100,7 +100,10 @@ module.exports = function (gulp, helperOptions) {
message: 'What type of bump would you like to do?',
choices: ['patch', 'minor', 'major']
}, function (res) {
bumptype = res.bump
if (res.bump.length === 0) {
console.info('You have to select a bump type. Now I\'m going to use "patch" as bump type..')
}
bumptype = res.bump[0]
}))
.pipe($.bump({type: bumptype}))
.pipe(gulp.dest('./'))
@ -143,7 +146,7 @@ module.exports = function (gulp, helperOptions) {
gulp.task('dev:browser', ['watch:build'], function () {
return gulp.src(files.test)
.pipe($.watch(['build/**/*.js']))
.pipe($.watch(['build/**/*']))
.pipe($.jasmineBrowser.specRunner())
.pipe($.jasmineBrowser.server({port: options.testport}))
})

View File

@ -1,6 +1,6 @@
{
"name": "yjs",
"version": "0.6.33",
"version": "0.6.35",
"description": "A framework for real-time p2p shared editing on arbitrary complex data types",
"main": "y.js",
"scripts": {