Skip to content

Commit

Permalink
fix(hook): Change cordovaFile.split() paramater. Closes #89
Browse files Browse the repository at this point in the history
  • Loading branch information
diegonetto committed Aug 26, 2014
1 parent a2fd432 commit 153cdae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/hooks/after_prepare/icons_and_splashscreens.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ _.each(platforms, function (platform) {
glob(base + '/**/*.png', function (err, files) {
_.each(files, function (cordovaFile) {
var orchestrator = new Orchestrator();
var parts = cordovaFile.split(path.sep);
var parts = cordovaFile.split('/');
var fileName = parts.pop();
var localDir = path.resolve(RESOURCE_DIR, platform, _.last(parts));
var localFile = path.resolve(localDir, fileName);
Expand Down

0 comments on commit 153cdae

Please sign in to comment.