Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize on single quotes, msftidy error #3446

Merged
merged 2 commits into from
Jun 12, 2014

Conversation

todb-r7
Copy link

@todb-r7 todb-r7 commented Jun 12, 2014

This PR fixes up two recent module submissions, the Chromecast module (PR #3438) and the MongoDB module (PR #3430). These changes shouldn't cause any change in normal functionality -- the first is just to favor single quotes over double in the initialize method (and the send_request_raw calls), and the second is to correct a msftidy warning.

Verification

  • See that the affected modules load as normal
  • See that the info for the modules is unchanged.

Tod Beardsley added 2 commits June 12, 2014 13:20
There is no need to have double quotes there for uninterpolated strings,
and every other module uses single quotes.
msftidy should have defintely caught this. That it didn't catch on
Travis-CI concerns me. Need to research this.
@wvu
Copy link
Contributor

wvu commented Jun 12, 2014

I've wanted to switch to using single quotes by default for all my code (other languages, too), but I'm kinda stuck on double quotes, since I don't have to think when I interpolate (which I do a lot). There are a few downsides to my current approach, of course.

@wvu wvu self-assigned this Jun 12, 2014
wvu added a commit to wvu/metasploit-framework that referenced this pull request Jun 12, 2014
@wvu wvu merged commit 3f5e50d into rapid7:master Jun 12, 2014
@wvu
Copy link
Contributor

wvu commented Jun 12, 2014

(To be fair, I got my current practice from C.)

OJ added a commit that referenced this pull request Jun 24, 2014
cdoughty-r7 added a commit that referenced this pull request Jun 25, 2014
todb-r7 pushed a commit to todb-r7/metasploit-framework that referenced this pull request Jun 29, 2014
This reverts commit 9b35b0e.

This should not land on master until the Metasploit Pro folks (@trosen-r7
and friends) get their Meterpreter path specifications working the
same way as Framework's does.
@todb-r7 todb-r7 deleted the fix-busted-modules branch November 25, 2014 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants