Skip to content

Commit

Permalink
fix(maker): search local node_modules folder for maker when installed…
Browse files Browse the repository at this point in the history
… globally
  • Loading branch information
MarshallOfSound committed Mar 23, 2017
1 parent dd6aec4 commit 9b8f297
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/make.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export default async (providedOptions = {}) => {
`electron-forge-maker-${target}`,
target,
path.resolve(dir, target),
path.resolve(dir, 'node_modules', target),
]);
if (!maker) {
throw `Could not find a build target with the name: ${target} for the platform: ${declaredPlatform}`;
Expand Down

0 comments on commit 9b8f297

Please sign in to comment.