Skip to content

Commit 18921d5

Browse files
authored
Merge pull request #104 from A6Brgeuka/fix-paths-issue
fix paths issue
2 parents c4e6b73 + 1125711 commit 18921d5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lib/commands/build.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ module.exports = {
3333
var project = this.project;
3434

3535
var platform = getPlatform(project.config(), options);
36+
project.CORDOVA_PLATFORM = platform;
37+
3638
project.targetIsCordova = true;
3739

3840
//Confirm location type is hash

lib/commands/serve.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ module.exports = {
5757
validatePlatform;
5858

5959
var platform = getPlatform(this.project.config(), options);
60+
this.project.CORDOVA_PLATFORM = platform;
6061

6162
//Vars for live reload addon service
6263
this.project.targetIsCordova = true;

0 commit comments

Comments
 (0)