mirror of
https://github.com/RamonGebben/mergify.git
synced 2026-03-10 08:51:18 +00:00
Give more relevant text to the user
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@ node_modules
|
||||
.config
|
||||
yarn-error.log
|
||||
coverage
|
||||
package-lock.json
|
||||
@@ -8,6 +8,7 @@ const { printMergeRequest } = require('../../utils/printMergeRequest');
|
||||
const { simplifyMergeRequest } = require('../../utils/simplifyMergeRequest');
|
||||
|
||||
const getAllAssigned = async({ userId }) => {
|
||||
spinner.text = "Retrieving all Merge Requests assigned to you"
|
||||
spinner.start();
|
||||
const params = {
|
||||
assignee_id: userId
|
||||
|
||||
@@ -8,6 +8,7 @@ const { printMergeRequest } = require('../../utils/printMergeRequest');
|
||||
const { simplifyMergeRequest } = require('../../utils/simplifyMergeRequest');
|
||||
|
||||
const getAllSubmitted = async({ userId }) => {
|
||||
spinner.text = "Retrieving all Merge Requests that you submitted"
|
||||
spinner.start();
|
||||
const params = {
|
||||
author_id: userId
|
||||
|
||||
@@ -9,7 +9,7 @@ const UNAUTHORIZED_MESSAGE = '401 Unauthorized';
|
||||
|
||||
const verify = async({ userId }) => {
|
||||
try {
|
||||
logger.log('Verifying your config');
|
||||
spinner.text = "Verifying your config"
|
||||
spinner.start();
|
||||
const userResp = await doFetch(`users/${userId}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user