Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Jul 4, 2017
1 parent 4b099ae commit 7ae18c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/core/manager/Manager.js
Expand Up @@ -389,7 +389,7 @@ class Manager {
}
merged[docPath].revisions.push(JSON.parse(JSON.stringify(revision)))
const sortedResult = cmsData.revision.sortRevisions(merged)
// Does the publish version has been removed (in the case of unpublish) ?
// Does the publish version has been removed (in the case of unpublish) ?
if(sortedResult[0]['publish'] && !coreUtils.file.exist(sortedResult[0]['publish']['path'])){
delete sortedResult[0]['publish']
}
Expand Down

0 comments on commit 7ae18c3

Please sign in to comment.