Give more relevant text to the user

This commit is contained in:
Julien Lengrand-Lambert
2018-04-23 11:10:53 +02:00
parent bccfd709fb
commit 8246f6bee6
4 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@ node_modules
.config
yarn-error.log
coverage
package-lock.json

View File

@@ -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

View File

@@ -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

View File

@@ -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}`);