Skip to content

Commit

Permalink
tests: mark relevant conditions where else is not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Oct 27, 2016
1 parent 8e6a81b commit ecb81fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/tessel/deployment/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ var exportables = {
checkConfiguration: (pushdir, basename, program) => {
var packageJson = fs.readJsonSync(path.join(pushdir, 'package.json'));

/* istanbul ignore else */
if (packageJson.main) {
basename = path.basename(program);
program = path.normalize(program.replace(basename, packageJson.main));
Expand Down Expand Up @@ -192,6 +193,7 @@ exportables.resolveBinaryModules = function(opts) {
}

if (resolved) {
/* istanbul ignore else */
if (bindingGypJson && Array.isArray(bindingGypJson.targets)) {
// Anything that can't be covered by this will have to be
// dealt with as we encounter them and as they are reported.
Expand Down Expand Up @@ -346,6 +348,7 @@ exportables.injectBinaryModules = function(globRoot, tempBundlePath, options) {

// For every binary module in use...
binaryModulesUsed.forEach(details => {
/* istanbul ignore else */
if (details.resolved) {
var isCopied = false;
var translations = binaryPathTranslations.slice().concat(
Expand Down
1 change: 1 addition & 0 deletions lib/tessel/deployment/rust.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ exportables.remoteRustCompilation = (opts) => {
}

// Print out any stdout output
/* istanbul ignore else */
if (result.stdout !== null) {
log.info(result.stdout);
}
Expand Down

0 comments on commit ecb81fc

Please sign in to comment.