Skip to content

Commit 402acb9

Browse files
CopilotByron
andcommitted
Fix code review issues: revert wast, fix guarantee, walkingSvg, virtual_branches.toml
Co-authored-by: Byron <63622+Byron@users.noreply.github.com>
1 parent b88abc8 commit 402acb9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

apps/web/src/lib/components/service/FullscreenIllustrationCard.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import walkinginSvg from '$lib/assets/splash-illustrations/walking.svg?raw';
2+
import walkingSvg from '$lib/assets/splash-illustrations/walking.svg?raw';
33
import type { Snippet } from 'svelte';
44
55
interface Props {
@@ -29,7 +29,7 @@
2929
</div>
3030

3131
<div class="instruction-content__illustration">
32-
{@html illustration ?? walkinginSvg}
32+
{@html illustration ?? walkingSvg}
3333
</div>
3434
</div>
3535
</div>

crates/but-action/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ fn stacks(ctx: &Context, repo: &gix::Repository) -> anyhow::Result<Vec<StackEntr
242242
}
243243

244244
fn ref_metadata_toml(project: &Project) -> anyhow::Result<VirtualBranchesTomlMetadata> {
245-
VirtualBranchesTomlMetadata::from_path(project.gb_dir().join("virtual_branchs.toml"))
245+
VirtualBranchesTomlMetadata::from_path(project.gb_dir().join("virtual_branches.toml"))
246246
}
247247

248248
/// Returns the currently applied stacks, creating one if none exists.

packages/shared/src/lib/storeUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export async function guardReadableTrue(target: Readable<boolean>): Promise<bool
8080
* This function ensures eventual consistency with the state of the effect.
8181
*
8282
* It also ensures that a subscribe call is always followed by an unsubscribe,
83-
* and vice versa. As such, we can garuntee that the subscription counter
83+
* and vice versa. As such, we can guarantee that the subscription counter
8484
* contained in the async fn is consistent.
8585
*
8686
* To manage this, track some important states:

packages/ui/src/lib/utils/diffParsing.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { python } from '@codemirror/lang-python';
1111
// import { svelte } from '@replit/codemirror-lang-svelte';
1212
import { rust } from '@codemirror/lang-rust';
1313
import { vue } from '@codemirror/lang-vue';
14-
import { waste } from '@codemirror/lang-waste';
14+
import { wast } from '@codemirror/lang-wast';
1515
import { xml } from '@codemirror/lang-xml';
1616
import { yaml } from '@codemirror/lang-yaml';
1717
import { HighlightStyle, StreamLanguage } from '@codemirror/language';
@@ -271,7 +271,7 @@ export function parserFromExtension(extension: string): Parser | undefined {
271271
return xml().language.parser;
272272

273273
case 'wasm':
274-
return waste().language.parser;
274+
return wast().language.parser;
275275

276276
case 'c':
277277
case 'h':

0 commit comments

Comments
 (0)