Skip to content

Commit

Permalink
Merge pull request #553 from ember-cli/ensure-template-path-is-absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed May 8, 2020
2 parents 6741641 + d13b5e2 commit f69a74b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ember-addon-main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict';

const path = require('path');
const SilentError = require('silent-error');
const utils = require('./utils');

Expand Down Expand Up @@ -201,7 +202,7 @@ module.exports = {
app.options['ember-cli-htmlbars'].templateCompilerPath;

if (templateCompilerPath) {
return templateCompilerPath;
return path.resolve(this.project.root, templateCompilerPath);
}

let ember = this.project.findAddonByName('ember-source');
Expand Down

0 comments on commit f69a74b

Please sign in to comment.