diff --git a/packages/cli/demo/cat.js b/packages/cli/demo/cat.js index a73b83dda0..9c2928f9e7 100644 --- a/packages/cli/demo/cat.js +++ b/packages/cli/demo/cat.js @@ -824,9 +824,7 @@ const render = value => { return $value; } default: { - throw Error( - 'Unreachable if programmed to account for all pass-styles', - ); + throw Error('Unreachable if programmed to account for all pass-styles'); } } }; diff --git a/packages/cli/src/pet-name.js b/packages/cli/src/pet-name.js index 4039cdb78f..7005734d53 100644 --- a/packages/cli/src/pet-name.js +++ b/packages/cli/src/pet-name.js @@ -13,9 +13,7 @@ export const parsePetNamePath = petNamePath => { const petNames = petNamePath.split('.'); for (const petName of petNames) { if (petName === '') { - throw Error( - `Pet name path ${q(petNamePath)} contains an empty segment.`, - ); + throw Error(`Pet name path ${q(petNamePath)} contains an empty segment.`); } } return petNames; diff --git a/packages/daemon/src/client.js b/packages/daemon/src/client.js index 874e1a15c1..c45c94db80 100644 --- a/packages/daemon/src/client.js +++ b/packages/daemon/src/client.js @@ -18,9 +18,7 @@ export const makeEndoClient = async (name, sockPath, cancelled, bootstrap) => { conn.on('error', (/** @type {any} */ error) => { if (error.code === 'ENOENT') { reject( - Error( - `Cannot connect to Endo. Is Endo running? ${error.message}`, - ), + Error(`Cannot connect to Endo. Is Endo running? ${error.message}`), ); } else { reject(error); diff --git a/packages/daemon/src/pet-store.js b/packages/daemon/src/pet-store.js index c09806fd5f..44eedc4664 100644 --- a/packages/daemon/src/pet-store.js +++ b/packages/daemon/src/pet-store.js @@ -248,9 +248,7 @@ export const makePetStoreMaker = (filePowers, config) => { assertValidName, ) => { if (!isValidNumber(formulaNumber)) { - throw Error( - `Invalid formula number for pet store ${q(formulaNumber)}`, - ); + throw Error(`Invalid formula number for pet store ${q(formulaNumber)}`); } const prefix = formulaNumber.slice(0, 2); const suffix = formulaNumber.slice(2);