diff --git a/fetch-solana-install-init.js b/fetch-solana-install-init.js index 8ea98f3..adfa9f8 100644 --- a/fetch-solana-install-init.js +++ b/fetch-solana-install-init.js @@ -6,7 +6,7 @@ import fetch from 'node-fetch'; import got from 'got'; import fs from 'fs'; -//const channel = 'github-release'; +// const channel = 'github-release'; const channel = 'v0.16.0'; // Use 'latest', or "id" field of the desired release from @@ -23,13 +23,15 @@ async function download(assetName, dest) { let downloadUrl; if (channel === 'github-release') { - const releaseUrl = - `https://api.github.com/repos/solana-labs/solana/releases/${githubReleaseId}`; + const releaseUrl = `https://api.github.com/repos/solana-labs/solana/releases/${githubReleaseId}`; console.log(`Fetching ${releaseUrl}...`); const response = await fetch(releaseUrl); const releaseInfo = await response.json(); - if (typeof releaseInfo !== 'object' || typeof releaseInfo.assets !== 'object') { + if ( + typeof releaseInfo !== 'object' || + typeof releaseInfo.assets !== 'object' + ) { console.error('response:', response); console.error('releaseInfo:', releaseInfo); throw new Error(`Unable to locate a release asset named ${assetName}`); diff --git a/src/app.jsx b/src/app.jsx index c361e8e..b4ec42f 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -96,7 +96,9 @@ class App extends React.Component { for (let i = 0; i <= 1000; i += 1) { newOutputs = Outputs.addRecord( newOutputs, - OutputFactory.makeTextOutput(`${i}: this is a replicator log message...`), + OutputFactory.makeTextOutput( + `${i}: this is a replicator log message...`, + ), ); } log.info(newOutputs.count());