Skip to content
Snippets Groups Projects
Commit 0832be23 authored by Kevin Jahns's avatar Kevin Jahns
Browse files

improved error messaging.. thats it for today

parent 8a2a184f
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,10 @@ module.exports = function (gulp, helperOptions) { ...@@ -100,7 +100,10 @@ module.exports = function (gulp, helperOptions) {
message: 'What type of bump would you like to do?', message: 'What type of bump would you like to do?',
choices: ['patch', 'minor', 'major'] choices: ['patch', 'minor', 'major']
}, function (res) { }, 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($.bump({type: bumptype}))
.pipe(gulp.dest('./')) .pipe(gulp.dest('./'))
...@@ -143,7 +146,7 @@ module.exports = function (gulp, helperOptions) { ...@@ -143,7 +146,7 @@ module.exports = function (gulp, helperOptions) {
gulp.task('dev:browser', ['watch:build'], function () { gulp.task('dev:browser', ['watch:build'], function () {
return gulp.src(files.test) return gulp.src(files.test)
.pipe($.watch(['build/**/*.js'])) .pipe($.watch(['build/**/*']))
.pipe($.jasmineBrowser.specRunner()) .pipe($.jasmineBrowser.specRunner())
.pipe($.jasmineBrowser.server({port: options.testport})) .pipe($.jasmineBrowser.server({port: options.testport}))
}) })
......
{ {
"name": "yjs", "name": "yjs",
"version": "0.6.33", "version": "0.6.35",
"description": "A framework for real-time p2p shared editing on arbitrary complex data types", "description": "A framework for real-time p2p shared editing on arbitrary complex data types",
"main": "y.js", "main": "y.js",
"scripts": { "scripts": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment