Skip to content

Fix formatting in Storage. #5645

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/storage/src/api.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

import {StorageReference} from "./public-types";
import { StorageReference } from './public-types';

/**
* Downloads the data at the object's location. Returns an error if the object
Expand All @@ -38,7 +38,7 @@ function getBlob(
ref: StorageReference,
maxDownloadSizeBytes?: number
): Promise<Blob> {
throw new Error("Not implemented");
throw new Error('Not implemented');
}

/**
Expand All @@ -58,7 +58,7 @@ function getStream(
ref: StorageReference,
maxDownloadSizeBytes?: number
): NodeJS.ReadableStream {
throw new Error("getStream() is only supported by NodeJS builds");
throw new Error('getStream() is only supported by NodeJS builds');
}

// TODO(getbytes): Export getBlob/getStream
Expand Down
6 changes: 3 additions & 3 deletions packages/storage/src/api.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

import {StorageReference} from "./public-types";
import { StorageReference } from './public-types';

/**
* Downloads the data at the object's location. Returns an error if the object
Expand All @@ -38,7 +38,7 @@ function getBlob(
ref: StorageReference,
maxDownloadSizeBytes?: number
): Promise<Blob> {
throw new Error("getBlob() is only available in Browser-like environments");
throw new Error('getBlob() is only available in Browser-like environments');
}

/**
Expand All @@ -58,7 +58,7 @@ function getStream(
ref: StorageReference,
maxDownloadSizeBytes?: number
): NodeJS.ReadableStream {
throw new Error("Not implemented");
throw new Error('Not implemented');
}

// TODO(getbytes): Export getBlob/getStream
Expand Down