Skip to content

Commit

Permalink
Addresses review feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
tcr committed Oct 19, 2016
1 parent f594dd2 commit 3f9234c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/install/rust.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ module.exports.toolchainPath = () => {
var values = fs.readdirSync(sdkPlatformPath);

for (var i = 0; i < values.length; i++) {
if (values[i].match(/^toolchain\-mipsel/)) {
if (values[i].startsWith('toolchain-mipsel')) {
return resolve(path.join(sdkPlatformPath, values[i]));
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/tessel/deployment/rust.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ exportables.remoteRustCompilation = (opts) => {
var options = {
host: destination.hostname,
port: destination.port,
path: '/rust-compile?target=' + querystring.escape(opts.resolvedEntryPoint),
path: `/rust-compile?target=${querystring.escape(opts.resolvedEntryPoint)}`,
method: 'POST',
headers: {
'Content-Type': 'application/octet-stream',
Expand Down

0 comments on commit 3f9234c

Please sign in to comment.