Issue #149 - Stop deleting old documents, just log them instead.

This commit is contained in:
Mike Taylor 2020-06-03 11:16:11 -05:00
Родитель 33f145cb0e
Коммит a7a81ed12b
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -115,9 +115,8 @@ const main = async () => {
);
await helpers.recordCurrentDoc(currentDocId);
// Delete the old document, because we don't need it anymore.
console.log(`Deleting cloned document with id: ${oldDocId}`);
await drive.files.delete({ fileId: oldDocId });
// Log out the old document in case we need to find it later.
console.log(`Old document id: ${oldDocId}`);
}
};