Skip to content

Commit 54bbc73

Browse files
committed
Run Prettier
1 parent 64e9a2e commit 54bbc73

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+11959
-6223
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ npm # Pelican Web Client
22

33
![Dynamic JSON Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FPelicanPlatform%2Fweb-client%2Fmain%2F.github%2Fcoverage%2Fcoverage-summary.json&query=%24.total.statements.pct&label=Code%20Coverage&color=%23cfe4ff) ![Dynamic JSON Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FPelicanPlatform%2Fweb-client%2Fmain%2F.github%2Ftests%2Ftest-summary.json&query=%24.numFailedTests&label=Failed%20Tests&color=%23abffae)
44

5-
6-
75
[NPM](https://www.npmjs.com/package/@pelicanplatform/web-client)
86
[Github](https://github.com/PelicanPlatform/web-client)
97

@@ -18,18 +16,18 @@ npm i @pelicanplatform/web-client
1816
```javascript
1917
import Client from "@pelicanplatform/web-client";
2018

21-
const discoveryUrl = "https://osg-htc.org" // Example discovery URL used for OSDF
22-
const filePath = "/example/file/path.txt" // Example file path
19+
const discoveryUrl = "https://osg-htc.org"; // Example discovery URL used for OSDF
20+
const filePath = "/example/file/path.txt"; // Example file path
2321

2422
const webClient = new Client(discoveryUrl);
2523

2624
try {
27-
webClient.getObject(filePath) // Downloads file to path.txt
25+
webClient.getObject(filePath); // Downloads file to path.txt
2826
} catch (e) {
29-
pass
27+
pass;
3028
}
3129
```
3230

33-
Example usage can be found here:
31+
Example usage can be found here:
3432

3533
https://github.com/PelicanPlatform/web-client/blob/main/website/src/app/page.tsx

0 commit comments

Comments
 (0)