improved error messaging.. thats it for today
This commit is contained in:
parent
8a2a184f30
commit
0832be2380
@ -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}))
|
||||
})
|
||||
|
@ -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": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user