From 7cbe2118971f117419a8e46ce3ead43cda21b6d0 Mon Sep 17 00:00:00 2001 From: Franco Meloni Date: Tue, 12 Feb 2019 20:47:02 +0000 Subject: [PATCH] Make bitbucket generated signature less aggressive --- .../_tests/__snapshots__/_bitbucketServerTemplate.test.ts.snap | 2 +- source/runner/templates/bitbucketServerTemplate.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/runner/templates/_tests/__snapshots__/_bitbucketServerTemplate.test.ts.snap b/source/runner/templates/_tests/__snapshots__/_bitbucketServerTemplate.test.ts.snap index 22f254213..5c7a27206 100644 --- a/source/runner/templates/_tests/__snapshots__/_bitbucketServerTemplate.test.ts.snap +++ b/source/runner/templates/_tests/__snapshots__/_bitbucketServerTemplate.test.ts.snap @@ -26,7 +26,7 @@ markdown | | |---:| -| _Generated by ❌ [dangerJS](https://danger.systems/js) against e70f3d6468f61a4bef68c9e6eaba9166b096e23c_ | +| _Generated by ⚠️ [dangerJS](https://danger.systems/js) against e70f3d6468f61a4bef68c9e6eaba9166b096e23c_ | [](http://danger-id-blankID;) diff --git a/source/runner/templates/bitbucketServerTemplate.ts b/source/runner/templates/bitbucketServerTemplate.ts index 8e371fbfc..7d75d9eab 100644 --- a/source/runner/templates/bitbucketServerTemplate.ts +++ b/source/runner/templates/bitbucketServerTemplate.ts @@ -44,7 +44,7 @@ export const fileLineToString = (file: string, line: number) => ` File: ${file} export const dangerSignature = (results: DangerResults) => { let meta = results.meta || { runtimeName: "dangerJS", runtimeHref: "https://danger.systems/js" } - return `Generated by ${noEntryEmoji} [${meta.runtimeName}](${meta.runtimeHref})` + return `Generated by ${warningEmoji} [${meta.runtimeName}](${meta.runtimeHref})` } /**