Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

style: use "-n" instead of "! -z" in shell scripts #1166

Merged
merged 1 commit into from Apr 27, 2019

Conversation

mboersma
Copy link
Member

@mboersma mboersma commented Apr 26, 2019

Reason for Change:

Enforces a more readable simplification of a common shell test.
See https://github.com/koalaman/shellcheck/wiki/SC2236

Issue Fixed:

Refs #953

Requirements:

Notes:

Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@acs-bot
Copy link

acs-bot commented Apr 26, 2019

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CecileRobertMichon, mboersma

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [CecileRobertMichon,mboersma]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@codecov
Copy link

codecov bot commented Apr 26, 2019

Codecov Report

Merging #1166 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1166   +/-   ##
=======================================
  Coverage   74.71%   74.71%           
=======================================
  Files         129      129           
  Lines       18385    18385           
=======================================
  Hits        13736    13736           
  Misses       3856     3856           
  Partials      793      793

@acs-bot acs-bot merged commit 2b8b2ed into Azure:master Apr 27, 2019
@mboersma mboersma deleted the shellcheck-2236 branch April 27, 2019 15:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants