Replace gray-matter with @gr2m/gray-matter to control quotes in frontmatter (#57049)
This commit is contained in:
@@ -5,7 +5,7 @@ import walk from 'walk-sync'
|
||||
import yaml from 'js-yaml'
|
||||
import { isRegExp, setWith } from 'lodash-es'
|
||||
import filenameToKey from './filename-to-key'
|
||||
import matter from 'gray-matter'
|
||||
import matter from '@gr2m/gray-matter'
|
||||
|
||||
interface DataDirectoryOptions {
|
||||
preprocess?: (content: string) => string
|
||||
|
||||
@@ -2,7 +2,7 @@ import fs from 'fs'
|
||||
import path from 'path'
|
||||
|
||||
import yaml from 'js-yaml'
|
||||
import matter from 'gray-matter'
|
||||
import matter from '@gr2m/gray-matter'
|
||||
import { merge, get } from 'lodash-es'
|
||||
|
||||
import languages from '@/languages/lib/languages'
|
||||
|
||||
Reference in New Issue
Block a user