Skip to content

Commit

Permalink
Replacing '@param {Object} options' with '@param {Object} [options]' p…
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 committed Feb 5, 2020
1 parent 91d423d commit dfccee1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/build-server/notifyServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const winston = require( 'winston' );
/**
* Notify the website that a new sim or translation has been deployed. This will cause the project to
* synchronize and the new translation will appear on the website.
* @param {Object} options
* @param {Object} [options]
* @property {string} simName
* @property {string} email
* @property {string} brand
Expand Down
2 changes: 1 addition & 1 deletion js/common/SimVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const assert = typeof module !== 'undefined' ? require( 'assert' ) : window && w
* @param {number} major - The major part of the version (the 3 in 3.1.2)
* @param {number} minor - The minor part of the version (the 1 in 3.1.2)
* @param {number} maintenance - The maintenance part of the version (the 2 in 3.1.2)
* @param {Object} options
* @param {Object} [options]
*/
constructor( major, minor, maintenance, options ) {
const {
Expand Down
2 changes: 1 addition & 1 deletion js/grunt/createSim.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const npmUpdate = require( '../common/npmUpdate' );
/**
* @param {string} repo
* @param {string} author
* @param {Object} options
* @param {Object} [options]
*/
module.exports = async function( repo, author, options ) {
const {
Expand Down

0 comments on commit dfccee1

Please sign in to comment.