We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d160155 commit d30fb0aCopy full SHA for d30fb0a
src/daemon.js
@@ -130,7 +130,7 @@ export default class Daemon {
130
})
131
.then(result => result.json())
132
.then(uploadCommandInfo => {
133
- const projectNameIndex = uploadCommandInfo.commandline.indexOf('{build.project_name}');
+ const projectNameIndex = uploadCommandInfo.commandline.lastIndexOf('{build.project_name}');
134
let ext = uploadCommandInfo.commandline.substring(projectNameIndex + 21, projectNameIndex + 24);
135
const data = compilationResult[ext] || compilationResult.bin;
136
if (!ext || !data) {
0 commit comments