Revert "Revert "wip""

This reverts commit f817ac652e35e9ed79db8d24c4144460e4cc0f71.

GitOrigin-RevId: 80bc280977d25e3ba554c32242fddfb3e15915e6
This commit is contained in:
Ersun Warncke 2020-02-05 08:53:31 -04:00 committed by Copybot
parent 7e200d2aea
commit 1c77077e71
2 changed files with 3 additions and 2 deletions

View file

@ -471,8 +471,9 @@ const ClsiManager = {
}
ProjectGetter.getProject(
projectId,
{ compiler: 1, rootDoc_id: 1, imageName: 1, rootFolder: 1 },
{ compiler: 1, rootDoc_id: 1, imageName: 1, rootFolder: 1, rootDoc_id: 1 },
(err, project) => {
console.log("GGGG", project)
if (err != null) {
return callback(
new OError({

View file

@ -62,7 +62,7 @@ module.exports = CompileManager = {
return callback(null, 'autocompile-backoff', [])
}
return ProjectRootDocManager.ensureRootDocumentIsValid(
return ProjectRootDocManager.ensureRootDocumentIsSet(
project_id,
function(error) {
if (error != null) {