Skip to content

Commit 7b812cc

Browse files
use path.sep to make this agnostic
1 parent 8967d0d commit 7b812cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cms/handleFieldsJS.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export function isConvertableFieldJs(
164164
return !!(
165165
convertFields &&
166166
allowedFieldsNames.includes(baseName) &&
167-
(inModuleFolder || relativePath == '/')
167+
(inModuleFolder || relativePath == path.sep)
168168
);
169169
}
170170

0 commit comments

Comments
 (0)