@penvhq/cli 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +10 -9
package/dist/index.cjs
CHANGED
|
@@ -702,7 +702,6 @@ var import_node_path3 = require("path");
|
|
|
702
702
|
var import_node_url2 = require("url");
|
|
703
703
|
var import_core6 = require("@penvhq/core");
|
|
704
704
|
var import_citty2 = require("citty");
|
|
705
|
-
var import_jiti = require("jiti");
|
|
706
705
|
var SCHEMA_EXPORT = "schema";
|
|
707
706
|
var LABELS = {
|
|
708
707
|
config: "Config",
|
|
@@ -781,7 +780,7 @@ function loadSchema(project, environment) {
|
|
|
781
780
|
return exclusively(() => loadSchemaExclusively(file, schemaPath, environment));
|
|
782
781
|
}
|
|
783
782
|
async function loadSchemaExclusively(file, schemaPath, environment) {
|
|
784
|
-
const jiti = (0,
|
|
783
|
+
const jiti = (0, import_core6.jitiFor)(file);
|
|
785
784
|
const previous = process.env.PENV_ENV;
|
|
786
785
|
process.env.PENV_ENV = environment;
|
|
787
786
|
let loaded;
|