Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ export function createChromeDevtoolsMiddleware(
if (!devtoolsConfig) {
// We store the UUID and re-use it to ensure Chrome does not repeatedly ask for permissions when restarting the dev server.
try {
const devtoolsConfig = readFileSync(devtoolsConfigPath, 'utf-8');
devtoolsConfig = readFileSync(devtoolsConfigPath, 'utf-8');

const devtoolsConfigJson: DevToolsJson = JSON.parse(devtoolsConfig);
assert.equal(projectRoot, devtoolsConfigJson?.workspace.root);
} catch {
Expand Down
Loading