error name and documentation consistency.
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
This commit is contained in:
committed by
Mert Can Bilgiç
parent
aa095e469f
commit
7bf88b4f31
@@ -54,7 +54,7 @@ class PkgCloudStorageClient {
|
||||
callback: (err: string, container: string) => any,
|
||||
) {
|
||||
if (containerName !== 'mock') {
|
||||
callback("Container doesn't exist", containerName);
|
||||
callback('Container does not exist', containerName);
|
||||
throw new Error('Container does not exist');
|
||||
} else {
|
||||
callback('Container does not exist', 'success');
|
||||
|
||||
Reference in New Issue
Block a user