@@ -13,7 +13,7 @@ function detect(envs) {
1313 * Determine the build number, based on args and envs
1414 *
1515 * @param {args: {}, envs: {} } inputs an object of arguments and enviromental variable key/value pairs
16- * @returns String
16+ * @returns { string }
1717 */
1818function _getBuild ( inputs ) {
1919 const { args } = inputs
@@ -24,7 +24,7 @@ function _getBuild(inputs) {
2424 * Determine the build URL for use in the Codecov UI
2525 *
2626 * @param {args: {}, envs: {} } inputs an object of arguments and enviromental variable key/value pairs
27- * @returns String
27+ * @returns { string }
2828 */
2929// eslint-disable-next-line no-unused-vars
3030function _getBuildURL ( inputs ) {
@@ -35,7 +35,7 @@ function _getBuildURL(inputs) {
3535 * Determine the branch of the repository, based on args and envs
3636 *
3737 * @param {args: {}, envs: {} } inputs an object of arguments and enviromental variable key/value pairs
38- * @returns String
38+ * @returns { string }
3939 */
4040function _getBranch ( inputs ) {
4141 const { args } = inputs
@@ -52,7 +52,7 @@ function _getBranch(inputs) {
5252 * Determine the job number, based on args or envs
5353 *
5454 * @param {* } envs an object of enviromental variable key/value pairs
55- * @returns String
55+ * @returns { string }
5656 */
5757// eslint-disable-next-line no-unused-vars
5858function _getJob ( envs ) {
@@ -63,7 +63,7 @@ function _getJob(envs) {
6363 * Determine the PR number, based on args and envs
6464 *
6565 * @param {args: {}, envs: {} } inputs an object of arguments and enviromental variable key/value pairs
66- * @returns String
66+ * @returns { string }
6767 */
6868// eslint-disable-next-line no-unused-vars
6969function _getPR ( inputs ) {
@@ -80,7 +80,7 @@ function _getPR(inputs) {
8080/**
8181 * The CI service name that gets sent to the Codecov uploader as part of the query string
8282 *
83- * @returns String
83+ * @returns { string }
8484 */
8585function _getService ( ) {
8686 return ''
@@ -98,7 +98,7 @@ function getServiceName() {
9898 * Determine the commit SHA that is being uploaded, based on args or envs
9999 *
100100 * @param {args: {}, envs: {} } inputs an object of arguments and enviromental variable key/value pairs
101- * @returns String
101+ * @returns { string }
102102 */
103103function _getSHA ( inputs ) {
104104 const { args } = inputs
@@ -114,7 +114,7 @@ function _getSHA(inputs) {
114114 * Determine the slug (org/repo) based on args or envs
115115 *
116116 * @param {args: {}, envs: {} } inputs an object of arguments and enviromental variable key/value pairs
117- * @returns String
117+ * @returns { string }
118118 */
119119function _getSlug ( inputs ) {
120120 const { args } = inputs
@@ -128,7 +128,7 @@ function _getSlug(inputs) {
128128 * Generates and return the serviceParams object
129129 *
130130 * @param {args: {}, envs: {} } inputs an object of arguments and enviromental variable key/value pairs
131- * @returns { branch: String , build: String , buildURL: String , commit: String , job: String , pr: String , service: String , slug: String }
131+ * @returns {{ branch: string , build: string , buildURL: string , commit: string , job: string , pr: string , service: string , slug: string } }
132132 */
133133function getServiceParams ( inputs ) {
134134 return {
0 commit comments