style: format loader files
This commit is contained in:
@@ -133,7 +133,12 @@ export function parsePluginSource(source: PluginSource): GitPluginSpec {
|
||||
}
|
||||
|
||||
// Handle npm scoped packages (e.g. @quartz-community/syntax-highlighting)
|
||||
if (typeof source === "string" && source.startsWith("@") && source.includes("/") && !source.includes(":")) {
|
||||
if (
|
||||
typeof source === "string" &&
|
||||
source.startsWith("@") &&
|
||||
source.includes("/") &&
|
||||
!source.includes(":")
|
||||
) {
|
||||
return { name: source, repo: "", npmPackage: true }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user