Jacky Zhao
2023-08-05 1da467d2143a260af8e5b7d2d2f68f0fcaa0260c
quartz/processors/parse.ts
@@ -91,7 +91,7 @@
        }
        // base data properties that plugins may use
        file.data.slug = slugifyFilePath(path.relative(argv.directory, file.path) as FilePath)
        file.data.slug = slugifyFilePath(path.posix.relative(argv.directory, file.path) as FilePath)
        file.data.filePath = fp
        const ast = processor.parse(file)
@@ -103,7 +103,6 @@
        }
      } catch (err) {
        trace(`\nFailed to process \`${fp}\``, err as Error)
        throw err
      }
    }