backups: encrypted backups must have .enc extension
This commit is contained in:
@@ -85,13 +85,12 @@ async function exists(apiConfig, backupFilePath) {
|
||||
throw new BoxError(BoxError.NOT_IMPLEMENTED, 'exists is not implemented');
|
||||
}
|
||||
|
||||
function download(apiConfig, backupFilePath, callback) {
|
||||
async function download(apiConfig, backupFilePath) {
|
||||
assert.strictEqual(typeof apiConfig, 'object');
|
||||
assert.strictEqual(typeof backupFilePath, 'string');
|
||||
assert.strictEqual(typeof callback, 'function');
|
||||
|
||||
// Result: download stream
|
||||
callback(new BoxError(BoxError.NOT_IMPLEMENTED, 'download is not implemented'));
|
||||
throw new BoxError(BoxError.NOT_IMPLEMENTED, 'download is not implemented');
|
||||
}
|
||||
|
||||
async function copy(apiConfig, oldFilePath, newFilePath, progressCallback) {
|
||||
|
||||
Reference in New Issue
Block a user