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

Parse remote #13

Merged
merged 2 commits into from Mar 19, 2017
Merged

Parse remote #13

merged 2 commits into from Mar 19, 2017

Conversation

jbcden
Copy link
Contributor

@jbcden jbcden commented Mar 19, 2017

Addresses issue #12.

I haven't had a chance to get airtable setup and test this so this may not be quite right, let me know if there are any issues. Thanks for putting this project together!

@poteto
Copy link
Owner

poteto commented Mar 19, 2017

This is awesome, ty so much for contributing!

@@ -46,6 +46,16 @@ const extractLocation = ((location) => {
});
});

const extractRemoteAvailable = ((location) => {
let locations = location
Copy link
Owner

Choose a reason for hiding this comment

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

this could be a little simpler:

let remoteRegex = /remote/i
let remoteOk = remoteRegex.exec(location);
return !!remoteOk;

@jbcden
Copy link
Contributor Author

jbcden commented Mar 19, 2017

this could be a little simpler:

@poteto good call! I updated that function in 8cc712c.

@poteto poteto closed this Mar 19, 2017
@poteto poteto reopened this Mar 19, 2017
@jbcden
Copy link
Contributor Author

jbcden commented Mar 19, 2017

@poteto I rebased and squashed the fixup commit

@poteto
Copy link
Owner

poteto commented Mar 19, 2017

Thanks!

@poteto poteto merged commit 9aedfdd into poteto:master Mar 19, 2017
@poteto poteto mentioned this pull request Mar 19, 2017
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