Skip to content
Permalink
Browse files

reporter-web-app: Do not use project excludes anymore

As of the deprecation of project excludes path excludes should be
used to exclude projects which use glob expression rather than regular
expression.

In order to move towards the complete removal of project excludes
stop using them from within the web-app.

Signed-off-by: Frank Viernau <frank.viernau@here.com>
  • Loading branch information...
fviernau committed Jul 15, 2019
1 parent 5de18fa commit e7f884891bffba857a70062175990fee6446cb6b
@@ -61,7 +61,6 @@ const AboutModal = (props) => {
<Tabs animated={false}>
{
(excludes.paths.length !== 0
|| excludes.projects.length !== 0
|| excludes.scopes.length !== 0)
&& (
<TabPane tab="Excludes" key="ort-tabs-excludes">
@@ -18,14 +18,11 @@
*/

import PathExclude from './PathExclude';
import ProjectExclude from './ProjectExclude';
import ScopeExclude from './ScopeExclude';

class Excludes {
#paths = [];

#projects = [];

#scopes = [];

constructor(obj) {
@@ -34,10 +31,6 @@ class Excludes {
this.#paths = obj.paths;
}

if (obj.projects) {
this.#projects = obj.projects;
}

if (obj.scopes) {
this.#scopes = obj.scopes;
}
@@ -54,16 +47,6 @@ class Excludes {
}
}

get projects() {
return this.#projects;
}

set projects(val) {
for (let i = 0, len = val.length; i < len; i++) {
this.#projects.push(new ProjectExclude(val[i]));
}
}

get scopes() {
return this.#scopes;
}

This file was deleted.

0 comments on commit e7f8848

Please sign in to comment.
You can’t perform that action at this time.