瀏覽代碼

Fixed missing punctuation marks in comments.

Maksymilian Barnaś 9 年之前
父節點
當前提交
877db4bbc3

+ 2 - 2
dev/tasks/exec/functions/bump-year.js

@@ -11,13 +11,13 @@ const replace = require( 'gulp-replace' );
 const filterGitignore = require( '../utils/filtergitignore' );
 
 /**
- * Replaces license date in source files with new date
+ * Replaces license date in source files with new date.
  *
  * @param {String} workdir
  * @returns {Object} stream
  */
 module.exports = ( workdir ) => {
-	// Change this to correct year
+	// Change this to correct year.
 	const year = '2017';
 
 	const licenseRegexp = /(@license Copyright \(c\) 2003-)[0-9]{4}(, CKSource - Frederico Knabben\.)/g;

+ 2 - 1
dev/tasks/exec/functions/git-commit.js

@@ -12,6 +12,7 @@ const PassThrough = require( 'stream' ).PassThrough;
  * Adds only modified files to git repository and commits them with provided message.
  *
  * Example:
+
  *		gulp exec --task git-commit --message "Commit message."
  *
  * @param {String} workdir
@@ -27,6 +28,6 @@ module.exports = ( workdir, params ) => {
 
 	git.commit( message, workdir );
 
-	// Return dummy stream to inform gulp about finishing task
+	// Return dummy stream to inform gulp about finishing task.
 	return new PassThrough();
 };

+ 2 - 2
dev/tasks/exec/functions/git-push.js

@@ -9,7 +9,7 @@ const git = require( '../utils/git' );
 const PassThrough = require( 'stream' ).PassThrough;
 
 /**
- * Pushes changes of current branch in repository to default origin
+ * Pushes changes of current branch in repository to default origin.
  *
  * @param {String} workdir
  * @returns {Object} stream
@@ -17,6 +17,6 @@ const PassThrough = require( 'stream' ).PassThrough;
 module.exports = ( workdir ) => {
 	git.push( workdir );
 
-	// Return dummy stream to inform gulp about finishing task
+	// Return dummy stream to inform gulp about finishing task.
 	return new PassThrough();
 };

+ 2 - 0
dev/tasks/exec/tasks.js

@@ -16,9 +16,11 @@ const ckeditor5Dirs = require( '../../utils/ckeditor5-dirs' );
  * Run task over ckeditor5 repositories.
  *
  * Example:
+
  *		gulp exec --task task-name
  *
  * Example of running task just for one repository:
+
  *		gulp exec --task task-name --repository ckeditor5-utils
  *
  * @param {Object} config Task runner configuration.