Skip to content

Commit 8cd86b3

Browse files
committed
fix(install): pass agent correctly to packageJson function
closes TryGhost#1899 - at some point the syntax changed, so we need to pass the agent differently
1 parent ce434a9 commit 8cd86b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/yarn-install.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const subTasks = {
1717
async dist(ctx) {
1818
const {dist, engines = {}} = await packageInfo('ghost', {
1919
version: ctx.version,
20-
agent: getProxyAgent()
20+
agent: {https: getProxyAgent()}
2121
});
2222

2323
const skipNodeVersionCheck = (process.env.GHOST_NODE_VERSION_CHECK === 'false');

0 commit comments

Comments
 (0)