Просмотр исходного кода

refactor: fix indentation for isGlobPattern variable in isCreatablePagePathPattern function

Shun Miyazawa 8 месяцев назад
Родитель
Сommit
44717b51f0

+ 1 - 1
apps/app/src/features/openai/utils/is-creatable-page-path-pattern.ts

@@ -2,7 +2,7 @@ import { pagePathUtils } from '@growi/core/dist/utils';
 import { removeGlobPath } from './remove-glob-path';
 
 export const isCreatablePagePathPattern = (pagePath: string): boolean => {
-const isGlobPattern = pagePathUtils.isGlobPatternPath(pagePath);
+  const isGlobPattern = pagePathUtils.isGlobPatternPath(pagePath);
   if (isGlobPattern) {
     // Remove glob pattern since glob paths are non-creatable in GROWI
     const pathWithoutGlob = removeGlobPath([pagePath])[0];