Skip to content

Commit 0482a46

Browse files
jeanbonoseanpdoyle
authored andcommitted
Fixed generated Heroku setup script
When setting up each Ember application, looping through and installing each application's dependencies, the generated `bin/heroku_install` script should return to the current directory at the end of each iteration.
1 parent 1d06d46 commit 0482a46

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
master
22
------
33

4+
* Fix bug with generated `bin/heroku_install` script iterating through multiple
5+
Ember application's directories.
6+
47
0.7.0
58
-----
69

lib/generators/ember/heroku/templates/bin_heroku_install.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ bower="$(pwd)/node_modules/.bin/bower"
77
for app in <%= app_paths.map { |app_path| %{"#{app_path}"} }.join(" ") -%>; do
88
cd $app &&
99
npm install &&
10-
$bower install
10+
$bower install &&
11+
cd -
1112
done

0 commit comments

Comments
 (0)