зеркало из https://github.com/mozilla/tsci.git
Issue #149 - Stop deleting old documents, just log them instead.
This commit is contained in:
Родитель
33f145cb0e
Коммит
a7a81ed12b
5
index.js
5
index.js
|
@ -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}`);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче