소스 검색

refactor: fix indentation for isGlobPattern variable in isCreatablePagePathPattern function

Shun Miyazawa 10 달 전
부모
커밋
44717b51f0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/app/src/features/openai/utils/is-creatable-page-path-pattern.ts

+ 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];