Skip to content

Commit bdff2f7

Browse files
authored
fix yarn files path (#27)
Signed-off-by: Vincenzo Scamporlino <[email protected]>
1 parent 90b539a commit bdff2f7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/components/common/Diff/Diff.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ function BackstageDiffView({
385385

386386
if (
387387
(!showDiff && newPath === '.yarn/plugins/@yarnpkg/plugin-backstage.cjs') ||
388-
newPath.startsWith('./yarn/releases/')
388+
newPath.startsWith('.yarn/releases/')
389389
) {
390390
return (
391391
<Card
@@ -397,10 +397,7 @@ function BackstageDiffView({
397397
}}
398398
>
399399
<Button onClick={() => setShowDiff(true)}>Show diff</Button>
400-
<Typography>
401-
The diff of this file for the Backstage Yarn plugin is hidden by
402-
default.
403-
</Typography>
400+
<Typography>The diff of this file is hidden by default.</Typography>
404401
</Card>
405402
)
406403
}

0 commit comments

Comments
 (0)