From ff8e9d9e8832446ad146a54780630f0748c31435 Mon Sep 17 00:00:00 2001 From: Yohix Date: Wed, 4 Mar 2020 15:01:09 +0000 Subject: [PATCH] Fix Typos --- source/ci_source/providers/Codefresh.ts | 2 +- source/danger-incoming-process-schema.json | 2 +- source/danger.d.ts | 12 ++++++------ source/dsl/BitBucketCloudDSL.ts | 2 +- source/dsl/BitBucketServerDSL.ts | 8 ++++---- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/source/ci_source/providers/Codefresh.ts b/source/ci_source/providers/Codefresh.ts index 8e8f39cf0..4e1efc7b9 100644 --- a/source/ci_source/providers/Codefresh.ts +++ b/source/ci_source/providers/Codefresh.ts @@ -25,7 +25,7 @@ import { ensureEnvKeysExist, ensureEnvKeysAreInt } from "../ci_source_helpers" * - success * ``` * - * The `failOnErrors` option is required in order to ensure that the step fails properly when Danger fails. If you don't wnat this behavior, you can remove this option. + * The `failOnErrors` option is required in order to ensure that the step fails properly when Danger fails. If you don't want this behavior, you can remove this option. * * Don't forget to add the `DANGER_GITHUB_API_TOKEN` variable to your pipeline settings so that Danger can properly post comments to your pull request. * diff --git a/source/danger-incoming-process-schema.json b/source/danger-incoming-process-schema.json index 660ddc495..b234fd5f7 100644 --- a/source/danger-incoming-process-schema.json +++ b/source/danger-incoming-process-schema.json @@ -27,7 +27,7 @@ "type": "number" }, "committer": { - "description": "The author of the commit, assumed to be the person who commited/merged the code into a project.", + "description": "The author of the commit, assumed to be the person who committed/merged the code into a project.", "properties": { "displayName": { "description": "The display name of the commit committer", diff --git a/source/danger.d.ts b/source/danger.d.ts index c7d7dace6..eaf9a847e 100644 --- a/source/danger.d.ts +++ b/source/danger.d.ts @@ -118,7 +118,7 @@ interface BitBucketCloudCommit { user: BitBucketCloudUser } - /** When the commit was commited to the project, in ISO 8601 format */ + /** When the commit was committed to the project, in ISO 8601 format */ date: string /** The commit's message */ message: string @@ -301,7 +301,7 @@ interface BitBucketServerCommit { } /** The UNIX timestamp for when the commit was authored */ authorTimestamp: number - /** The author of the commit, assumed to be the person who commited/merged the code into a project. */ + /** The author of the commit, assumed to be the person who committed/merged the code into a project. */ committer: { /** The id of the commit committer */ name: string @@ -310,7 +310,7 @@ interface BitBucketServerCommit { /** The email of the commit committer */ emailAddress: string } - /** When the commit was commited to the project */ + /** When the commit was committed to the project */ committerTimestamp: number /** The commit's message */ message: string @@ -324,9 +324,9 @@ interface BitBucketServerCommit { } interface BitBucketServerDiff { - /** The file refrence when moved */ + /** The file reference when moved */ destination?: BitBucketServerFile - /** The original file refrence */ + /** The original file reference */ source?: BitBucketServerFile /** A set of diff changes */ hunks: BitBucketServerHunk[] @@ -1735,7 +1735,7 @@ declare function message(message: MarkdownString, file?: string, line?: number): /** * Adds a message to the Danger table, the only difference between this * and warn is the default emoji which shows in the table. - * You can also specifiy a custom emoji to show in the table for each message + * You can also specify a custom emoji to show in the table for each message * * @param {MarkdownString} message the String to output * @param {{file?: string, line?: string, icon?: MarkdownString}} [opts] diff --git a/source/dsl/BitBucketCloudDSL.ts b/source/dsl/BitBucketCloudDSL.ts index 4e8011e4d..d74232ad6 100644 --- a/source/dsl/BitBucketCloudDSL.ts +++ b/source/dsl/BitBucketCloudDSL.ts @@ -114,7 +114,7 @@ export interface BitBucketCloudCommit { user: BitBucketCloudUser } - /** When the commit was commited to the project, in ISO 8601 format */ + /** When the commit was committed to the project, in ISO 8601 format */ date: string /** The commit's message */ message: string diff --git a/source/dsl/BitBucketServerDSL.ts b/source/dsl/BitBucketServerDSL.ts index f18554503..94c163a5a 100644 --- a/source/dsl/BitBucketServerDSL.ts +++ b/source/dsl/BitBucketServerDSL.ts @@ -128,7 +128,7 @@ export interface BitBucketServerCommit { } /** The UNIX timestamp for when the commit was authored */ authorTimestamp: number - /** The author of the commit, assumed to be the person who commited/merged the code into a project. */ + /** The author of the commit, assumed to be the person who committed/merged the code into a project. */ committer: { /** The id of the commit committer */ name: string @@ -137,7 +137,7 @@ export interface BitBucketServerCommit { /** The email of the commit committer */ emailAddress: string } - /** When the commit was commited to the project */ + /** When the commit was committed to the project */ committerTimestamp: number /** The commit's message */ message: string @@ -151,9 +151,9 @@ export interface BitBucketServerCommit { } export interface BitBucketServerDiff { - /** The file refrence when moved */ + /** The file reference when moved */ destination?: BitBucketServerFile - /** The original file refrence */ + /** The original file reference */ source?: BitBucketServerFile /** A set of diff changes */ hunks: BitBucketServerHunk[]