提交 ff538252 编写于 作者: S Sofian Hnaide

fix #2404 Add React Native workspace detection

上级 533b3f31
......@@ -92,6 +92,9 @@ export class WorkspaceStats {
tags['workspace.android.cpp'] = true;
}
tags['workspace.reactNative'] = this.searchArray(names, /^android$/i) && this.searchArray(names, /^ios$/i) &&
this.searchArray(names, /^index\.android\.js$/i) &&this.searchArray(names, /^index\.ios\.js$/i);
return tags;
}, error => { errors.onUnexpectedError(error); return null; });
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册