Skip to content

Commit f62c15c

Browse files
committed
Minor fixes
1 parent a25d0f6 commit f62c15c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/moduleEncoding.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,11 +1394,9 @@ async function unpackApplicationAndAssetBundle(bundle) {
13941394
name: path.basename(entry.path),
13951395
data: data
13961396
});
1397-
} else if (entry.path === ENV_JSON_FILE ||
1398-
// Legacy directory used by old versions of the library
1399-
(dir === 'env' && path.extname(entry.path) === '.json')) {
1397+
} else if (entry.path === ENV_JSON_FILE) {
14001398
try {
1401-
result.vars = {
1399+
result.env = {
14021400
name: entry.path,
14031401
data: JSON.parse(data.toString('utf-8'))
14041402
};

0 commit comments

Comments
 (0)