Skip to content

Commit 4ede74f

Browse files
committed
Change name
1 parent 369119b commit 4ede74f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.storybook/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as path from "node:path";
22
import type { StorybookConfig } from "@storybook/react-vite";
33
import { existsSync, readdirSync } from "node:fs";
44

5-
const isFolderEmptyOrNotExists = (folderPath: string) => {
5+
const isFolderEmpty = (folderPath: string) => {
66
if (!existsSync(folderPath)) {
77
return true; // Folder does not exist
88
}
@@ -11,7 +11,7 @@ const isFolderEmptyOrNotExists = (folderPath: string) => {
1111
return contents.length === 0;
1212
};
1313

14-
const hasPrivateFolders = !isFolderEmptyOrNotExists(
14+
const hasPrivateFolders = !isFolderEmpty(
1515
path.join(__dirname, "../../packages/sdk-components-animation/private-src")
1616
);
1717

apps/builder/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
} from "./app/shared/router-utils/origins";
1212
import { readFileSync, readdirSync, existsSync } from "node:fs";
1313

14-
const isFolderEmptyOrNotExists = (folderPath: string) => {
14+
const isFolderEmpty = (folderPath: string) => {
1515
if (!existsSync(folderPath)) {
1616
return true; // Folder does not exist
1717
}
@@ -20,7 +20,7 @@ const isFolderEmptyOrNotExists = (folderPath: string) => {
2020
return contents.length === 0;
2121
};
2222

23-
const hasPrivateFolders = !isFolderEmptyOrNotExists(
23+
const hasPrivateFolders = !isFolderEmpty(
2424
path.join(__dirname, "../../packages/sdk-components-animation/private-src")
2525
);
2626

0 commit comments

Comments
 (0)