From 71d0036e8e3684f361f80c3d113b11bb8bdc081c Mon Sep 17 00:00:00 2001 From: Ersun Warncke Date: Wed, 5 Feb 2020 08:49:04 -0400 Subject: [PATCH] Revert "wip" This reverts commit 81103ae6d7c0c22eb24da6ed6577223ba16e8861. GitOrigin-RevId: f817ac652e35e9ed79db8d24c4144460e4cc0f71 --- services/web/app/src/Features/Compile/ClsiManager.js | 3 +-- services/web/app/src/Features/Compile/CompileManager.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/services/web/app/src/Features/Compile/ClsiManager.js b/services/web/app/src/Features/Compile/ClsiManager.js index 1a2e856b64..3c09b003ae 100644 --- a/services/web/app/src/Features/Compile/ClsiManager.js +++ b/services/web/app/src/Features/Compile/ClsiManager.js @@ -471,9 +471,8 @@ const ClsiManager = { } ProjectGetter.getProject( projectId, - { compiler: 1, rootDoc_id: 1, imageName: 1, rootFolder: 1, rootDoc_id: 1 }, + { compiler: 1, rootDoc_id: 1, imageName: 1, rootFolder: 1 }, (err, project) => { - console.log("GGGG", project) if (err != null) { return callback( new OError({ diff --git a/services/web/app/src/Features/Compile/CompileManager.js b/services/web/app/src/Features/Compile/CompileManager.js index 454dc97d16..e452b421a8 100644 --- a/services/web/app/src/Features/Compile/CompileManager.js +++ b/services/web/app/src/Features/Compile/CompileManager.js @@ -62,7 +62,7 @@ module.exports = CompileManager = { return callback(null, 'autocompile-backoff', []) } - return ProjectRootDocManager.ensureRootDocumentIsSet( + return ProjectRootDocManager.ensureRootDocumentIsValid( project_id, function(error) { if (error != null) {