mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 19:22:51 +00:00
refactor: remove report task
This commit is contained in:
@@ -19,7 +19,6 @@ import {existsSync, readFileSync} from 'fs';
|
|||||||
import {join} from 'path';
|
import {join} from 'path';
|
||||||
import {GITLAB_API_URL} from './configuration';
|
import {GITLAB_API_URL} from './configuration';
|
||||||
import {remind} from './tasks/remind';
|
import {remind} from './tasks/remind';
|
||||||
import {report} from './tasks/report';
|
|
||||||
import {tidy} from './tasks/tidy';
|
import {tidy} from './tasks/tidy';
|
||||||
import {unlabel} from './tasks/unlabel';
|
import {unlabel} from './tasks/unlabel';
|
||||||
|
|
||||||
@@ -43,13 +42,6 @@ if (existsSync(join(__dirname, 'package.json'))) {
|
|||||||
commander.version(JSON.parse(readFileSync(join(__dirname, '..', 'package.json')).toString()).version);
|
commander.version(JSON.parse(readFileSync(join(__dirname, '..', 'package.json')).toString()).version);
|
||||||
}
|
}
|
||||||
|
|
||||||
commander
|
|
||||||
.command('report <label>')
|
|
||||||
.action(async (label: string) => {
|
|
||||||
await report(gitlabApi, label);
|
|
||||||
logger.ok('Done!');
|
|
||||||
});
|
|
||||||
|
|
||||||
commander
|
commander
|
||||||
.command('unlabel')
|
.command('unlabel')
|
||||||
.action(async () => {
|
.action(async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user