Skip to content

Commit

Permalink
Override platformDir when instantiating Helper from harness
Browse files Browse the repository at this point in the history
  • Loading branch information
jkcdarunday committed Sep 24, 2024
1 parent f05bada commit ce1afb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixtures/harness/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Harness extends ReadyResource {
const { default: cmd } = await import('pear/cmd')
this.cmd = cmd
}
return new this.Helper(opts)
return new this.Helper({ platformDir: global.Pear.config.pearDir, opts })
}

nextUpdate () {
Expand Down

0 comments on commit ce1afb9

Please sign in to comment.