Skip to content

Commit 65dce18

Browse files
authored
Fix formatting in Storage. (#5645)
* Fix formatting in Storage. Ran `yarn prettier`. This will unblock other PRs. * Create unlucky-steaks-ring.md * remove changeset.
1 parent 6dacc24 commit 65dce18

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/storage/src/api.browser.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

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

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

4444
/**
@@ -58,7 +58,7 @@ function getStream(
5858
ref: StorageReference,
5959
maxDownloadSizeBytes?: number
6060
): NodeJS.ReadableStream {
61-
throw new Error("getStream() is only supported by NodeJS builds");
61+
throw new Error('getStream() is only supported by NodeJS builds');
6262
}
6363

6464
// TODO(getbytes): Export getBlob/getStream

packages/storage/src/api.node.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

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

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

4444
/**
@@ -58,7 +58,7 @@ function getStream(
5858
ref: StorageReference,
5959
maxDownloadSizeBytes?: number
6060
): NodeJS.ReadableStream {
61-
throw new Error("Not implemented");
61+
throw new Error('Not implemented');
6262
}
6363

6464
// TODO(getbytes): Export getBlob/getStream

0 commit comments

Comments
 (0)