Skip to content

Commit 5844825

Browse files
committed
Fix EddyVerbruggen#64: Get projectData from hookArgs if missing
1 parent 2850ce9 commit 5844825

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/hooks/before-checkForChanges.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ export = function(
1111
hookArgs: any
1212
) {
1313
const platformName = hookArgs.checkForChangesOpts.platform.toLowerCase();
14+
15+
if (hookArgs.checkForChangesOpts.projectData) {
16+
projectData = hookArgs.checkForChangesOpts.projectData;
17+
}
18+
1419
const platformData = platformsData.getPlatformData(platformName, projectData);
1520

1621
let converter: ConverterCommon;

0 commit comments

Comments
 (0)