Skip to content

Commit

Permalink
Fix prettier errors
Browse files Browse the repository at this point in the history
Signed-off-by: Zabil Cheriya Maliackal <[email protected]>
  • Loading branch information
zabil committed May 22, 2024
1 parent b10e541 commit dec742a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/browser/fetcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function downloadFile(url, destinationPath, progressCallback) {
file.on('finish', () => fulfill());
file.on('error', (error) => reject(error));
response.pipe(file);
totalBytes = parseInt(/** @type {string} */(response.headers['content-length']), 10);
totalBytes = parseInt(/** @type {string} */ (response.headers['content-length']), 10);
if (progressCallback) {
response.on('data', onData);
}
Expand Down
2 changes: 0 additions & 2 deletions lib/browser/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ function existsAsync(filePath) {
}

class BrowserMetadata {

constructor() {
this._downloadsFolder = path.join(helper.projectRoot(), '.local-chromium');
const platform = os.platform();
Expand Down Expand Up @@ -151,7 +150,6 @@ function parseFolderPath(folderPath) {
return { platform, revision };
}


/**
* @typedef {Object} BrowserMetadata.RevisionInfo
* @property {string} folderPath
Expand Down

0 comments on commit dec742a

Please sign in to comment.