Skip to content

Commit e1318b6

Browse files
committed
Reformatted files
1 parent 11f31f9 commit e1318b6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/database/test/helpers/util.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
1918
import { uuidv4 } from '@firebase/util';
2019
import { Database, ref } from '../../src';
2120
import { ConnectionTarget } from '../../src/api/test_access';

packages/util/src/uuid.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
* Copied from https://stackoverflow.com/a/2117523
2020
* Generates a new uuid.
2121
*/
22-
export const uuidv4 = function(): string {
22+
export const uuidv4 = function (): string {
2323
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => {
2424
const r = (Math.random() * 16) | 0,
2525
v = c === 'x' ? r : (r & 0x3) | 0x8;
2626
return v.toString(16);
2727
});
28-
}
28+
};

0 commit comments

Comments
 (0)