show message when parse subtree error
This commit is contained in:
1 parent
1013bb4f5e
commit
fcf11a38cd
3 files changed
+3
-5
No files matched your search
@@ -79,11 +79,9 @@ export default class TreeTabs extends Component<TreeTabsProps, TreeTabsState> {
|
||||
}
|
||||
|
||||
const settings = Utils.getRemoteSettings();
|
||||
const workdir = settings.workdir;
|
||||
const files = fs.readdirSync(workdir).filter((f) => {
|
||||
const files = fs.readdirSync(settings.workdir).filter((f) => {
|
||||
return f.endsWith(".json");
|
||||
});
|
||||
fs.mkdirSync(workdir + "/../build", { recursive: true });
|
||||
for (const path of files) {
|
||||
const buildpath = buildDir + "/" + path;
|
||||
console.log("build:", buildpath);
|
||||
|
||||
Reference in new issue
Block a user