feat(common): support importing environments individually (#3691)

This commit is contained in:
James George
2023-12-24 12:12:02 +05:30
committed by GitHub
parent 8f503479b6
commit c6c220091a
2 changed files with 14 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ const hoppEnvSchema = z.object({
})
export const hoppEnvImporter = (content: string) => {
const parsedContent = safeParseJSON(content)
const parsedContent = safeParseJSON(content, true)
// parse json from the environments string
if (O.isNone(parsedContent)) {