mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-19 01:17:18 +02:00
fix: yarnv4 requires shebangs in shell scripts to allow execution (#7323)
This commit is contained in:
parent
cedf19d2ec
commit
57ddfc9255
@ -14,3 +14,4 @@ frontend/node_modules
|
|||||||
!.yarn/**
|
!.yarn/**
|
||||||
!.yarnrc.yml
|
!.yarnrc.yml
|
||||||
!frontend/.yarn/**
|
!frontend/.yarn/**
|
||||||
|
node_modules
|
||||||
|
@ -1 +1,2 @@
|
|||||||
yarnPath: .yarn/releases/yarn-4.2.2.cjs
|
yarnPath: .yarn/releases/yarn-4.2.2.cjs
|
||||||
|
nodeLinker: node-modules
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
if grep -R --include="*.js" --include="*.jsx" --include="*.ts" --include="*.tsx" "from '@mui/icons-material'" src; then
|
if grep -R --include="*.js" --include="*.jsx" --include="*.ts" --include="*.tsx" "from '@mui/icons-material'" src; then
|
||||||
echo "Prohibited import from '@mui/icons-material' found. Use default imports referencing the file instead of the
|
echo "Prohibited import from '@mui/icons-material' found. Use default imports referencing the file instead of the
|
||||||
global package. Example: import Delete from '@mui/icons-material/Delete';'"
|
global package. Example: import Delete from '@mui/icons-material/Delete';'"
|
||||||
|
@ -165,7 +165,7 @@ describe('NewFeatureStrategyCreate', () => {
|
|||||||
|
|
||||||
expect(screen.getByText(expectedSegmentName)).toBeInTheDocument();
|
expect(screen.getByText(expectedSegmentName)).toBeInTheDocument();
|
||||||
expect(screen.getByText(expectedConstraintValue)).toBeInTheDocument();
|
expect(screen.getByText(expectedConstraintValue)).toBeInTheDocument();
|
||||||
});
|
}, 10000);
|
||||||
|
|
||||||
test('should change variants settings', async () => {
|
test('should change variants settings', async () => {
|
||||||
const { expectedVariantName } = setupComponent();
|
const { expectedVariantName } = setupComponent();
|
||||||
|
Loading…
Reference in New Issue
Block a user