Skip to content

Commit ad0541c

Browse files
committed
Fix windows support
1 parent e57e172 commit ad0541c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
name: 'Ember CLI ic-ajax',
55

66
init: function(name) {
7-
this.treePaths['vendor'] = require.resolve('ic-ajax').replace('ic-ajax/dist/cjs/main.js', '');
7+
this.treePaths['vendor'] = require.resolve('ic-ajax').replace(require('path').join('ic-ajax','dist','cjs','main.js'), '');
88
},
99

1010
included: function(app) {

0 commit comments

Comments
 (0)