Skip to content

Commit

Permalink
fix(edam): use resolveEdamTemplate instead of require.resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
imcuttle committed Feb 17, 2019
1 parent 99dd22b commit af753eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edam/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export class Edam extends AwaitEventEmitter {
// The below process would update templateConfig
// So we requires clone
templateConfig = _.cloneDeep(templateConfig)
this.templateConfigPath = templateConfigPath = require.resolve(
this.templateConfigPath = templateConfigPath = resolveEdamTemplate(
templateConfigPath
)

Expand Down

0 comments on commit af753eb

Please sign in to comment.