mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-12-04 05:46:23 +01:00
Clean up importers
This commit is contained in:
1 parent
004fef6729
commit
6e5d5fcb95
4 files changed
+20
-32
No files matched your search
@@ -12,7 +12,7 @@ export function pluginHookImport(contents) {
|
||||
|
||||
if (parsed.yaakSchema !== 1) return undefined;
|
||||
|
||||
return parsed.resources; // Should already be in the correct format
|
||||
return { resources: parsed.resources }; // Should already be in the correct format
|
||||
}
|
||||
|
||||
export function isJSObject(obj) {
|
||||
|
||||
Reference in new issue
Block a user