Fixed typos and grammatical errors (#791)

* 🐛 Fixed typos and grammatical errors

* 🐛 Made changes based on Tanay's feedback
This commit is contained in:
smamudhan
2020-07-24 16:26:41 +05:30
committed by GitHub
parent 546995aa4f
commit 725d2d16fc
42 changed files with 92 additions and 96 deletions

View File

@@ -59,7 +59,7 @@ export async function gitlabApiRequest(this: IHookFunctions | IExecuteFunctions,
} catch (error) {
if (error.statusCode === 401) {
// Return a clear error
throw new Error('The Gitlab credentials are not valid!');
throw new Error('The GitLab credentials are not valid!');
}
if (error.response && error.response.body && error.response.body.message) {

View File

@@ -15,13 +15,13 @@ import {
export class Gitlab implements INodeType {
description: INodeTypeDescription = {
displayName: 'Gitlab',
displayName: 'GitLab',
name: 'gitlab',
icon: 'file:gitlab.png',
group: ['input'],
version: 1,
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
description: 'Retrieve data from Gitlab API.',
description: 'Retrieve data from GitLab API.',
defaults: {
name: 'Gitlab',
color: '#FC6D27',
@@ -131,7 +131,7 @@ export class Gitlab implements INodeType {
{
name: 'Get',
value: 'get',
description: 'Get the data of a single issues',
description: 'Get the data of a single issue',
},
{
name: 'Lock',
@@ -207,7 +207,7 @@ export class Gitlab implements INodeType {
{
name: 'Create',
value: 'create',
description: 'Creates a new release',
description: 'Create a new release',
},
],
default: 'create',

View File

@@ -16,13 +16,13 @@ import {
export class GitlabTrigger implements INodeType {
description: INodeTypeDescription = {
displayName: 'Gitlab Trigger',
displayName: 'GitLab Trigger',
name: 'gitlabTrigger',
icon: 'file:gitlab.png',
group: ['trigger'],
version: 1,
subtitle: '={{$parameter["owner"] + "/" + $parameter["repository"] + ": " + $parameter["events"].join(", ")}}',
description: 'Starts the workflow when a Gitlab events occurs.',
description: 'Starts the workflow when a GitLab event occurs.',
defaults: {
name: 'Gitlab Trigger',
color: '#FC6D27',
@@ -237,7 +237,7 @@ export class GitlabTrigger implements INodeType {
if (responseData.id === undefined) {
// Required data is missing so was not successful
throw new Error('Gitlab webhook creation response did not contain the expected data.');
throw new Error('GitLab webhook creation response did not contain the expected data.');
}
const webhookData = this.getWorkflowStaticData('node');