mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-02-27 11:22:25 +00:00
refactor: remove outdated unused tslint artifacts
This commit is contained in:
@@ -533,7 +533,6 @@ export class Api {
|
|||||||
|
|
||||||
Logger.warn(`GitLab was not responding. Waiting ${seconds}s and retrying...`);
|
Logger.warn(`GitLab was not responding. Waiting ${seconds}s and retrying...`);
|
||||||
|
|
||||||
// tslint:disable-next-line:no-magic-numbers
|
|
||||||
await sleep(seconds * 1000);
|
await sleep(seconds * 1000);
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
@@ -567,7 +566,6 @@ export class Api {
|
|||||||
*/
|
*/
|
||||||
public async protectBranch(projectId: number, branch: string): Promise<Branch> {
|
public async protectBranch(projectId: number, branch: string): Promise<Branch> {
|
||||||
return this.makeGitLabAPIRequest(
|
return this.makeGitLabAPIRequest(
|
||||||
/* tslint:disable-next-line:max-line-length */
|
|
||||||
`projects/${projectId}/repository/branches/${branch}/protect?developers_can_push=false&developers_can_merge=false`,
|
`projects/${projectId}/repository/branches/${branch}/protect?developers_can_push=false&developers_can_merge=false`,
|
||||||
{
|
{
|
||||||
method: 'PUT',
|
method: 'PUT',
|
||||||
|
|||||||
@@ -81,7 +81,6 @@ commander.command('batch-process <projectId> <action>').action(async (projectId,
|
|||||||
tries: 10,
|
tries: 10,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// tslint:disable-next-line:no-console
|
|
||||||
Logger.info(`Processed issue #${issue.iid} of project '${projectId}': ${issue.title}`);
|
Logger.info(`Processed issue #${issue.iid} of project '${projectId}': ${issue.title}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -110,7 +109,6 @@ commander
|
|||||||
|
|
||||||
let index = 0;
|
let index = 0;
|
||||||
|
|
||||||
// tslint:disable-next-line:no-magic-numbers
|
|
||||||
await asyncPool(2, issues, async issue => {
|
await asyncPool(2, issues, async issue => {
|
||||||
// get notes of old issue
|
// get notes of old issue
|
||||||
const notes = await api.getNotes(projectId, issue);
|
const notes = await api.getNotes(projectId, issue);
|
||||||
|
|||||||
@@ -13,8 +13,6 @@
|
|||||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// tslint:disable:completed-docs
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Scope of membership
|
* Scope of membership
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "./node_modules/@openstapps/configuration/tslint.json"
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user