Skip to content

Commit

Permalink
Added full path for main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chalkers committed Nov 12, 2016
1 parent db56036 commit 1a8f9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/espruino/scripts/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const iotPackageJson = require('../package.json');
const devices = require('../devices.json').devices;
const scriptsDir = path.dirname(require.main.filename);
const payload = {
entry: iotPackageJson.main,
entry: path.join(__dirname, '..', iotPackageJson.main),
buildDir: path.join(scriptsDir, '..', 'build'),
env
};
Expand Down

0 comments on commit 1a8f9ab

Please sign in to comment.