From 76ba8170dc530a11c9b61ded823ac41d1f8f51cd Mon Sep 17 00:00:00 2001 From: davidgortega Date: Tue, 18 May 2021 01:02:16 +0200 Subject: [PATCH] snapshots and olivaw --- bin/cml-pr.test.js | 18 +----------------- src/cml.js | 2 +- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/bin/cml-pr.test.js b/bin/cml-pr.test.js index 1710b8190..bf02040f8 100644 --- a/bin/cml-pr.test.js +++ b/bin/cml-pr.test.js @@ -6,22 +6,6 @@ describe('CML e2e', () => { test('cml-publish -h', async () => { const output = await exec(`echo none | node ./bin/cml-pr.js -h`); - expect(output).toMatchInlineSnapshot(` - "Usage: cml-pr.js ... - - Options: - --version Show version number [boolean] - --md Output in markdown format [](url). [boolean] - --repo Specifies the repo to be used. If not specified is extracted - from the CI ENV. - --token Personal access token to be used. If not specified in - extracted from ENV REPO_TOKEN. - --driver If not specify it infers it from the ENV. - [choices: \\"github\\", \\"gitlab\\"] - -h Show help [boolean] - --git-remote [default: \\"origin\\"] - --git-user-email [default: \\"olivaw@iterative.ai\\"] - --git-user-name [default: \\"iterative-olivaw\\"]" - `); + expect(output).toMatchInlineSnapshot(); }); }); diff --git a/src/cml.js b/src/cml.js index 43b0f4601..2536460bd 100644 --- a/src/cml.js +++ b/src/cml.js @@ -16,7 +16,7 @@ const { CI } = process.env; -const GIT_USER_NAME = 'iterative-olivaw'; +const GIT_USER_NAME = 'Olivaw[bot]'; const GIT_USER_EMAIL = 'olivaw@iterative.ai'; const GIT_REMOTE = 'origin'; const GITHUB = 'github';