Skip to content

Commit

Permalink
Fix TS error
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrunyon committed Sep 20, 2024
1 parent 0b89ed9 commit 25ba240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/console/src/monaco/RuffSettingsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default function RuffSettingsModal({
const [ruffVersion] = useState(() => {
// This throws if using Groovy or Ruff is not loaded
try {
return `v${Workspace.version()}` ?? '';
return `v${Workspace.version()}`;
} catch {
return '';
}
Expand Down

0 comments on commit 25ba240

Please sign in to comment.