Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Use existsSync instead of hasRequiredFiles (fixes #177) #178

Merged
merged 1 commit into from
May 9, 2019
Merged

Use existsSync instead of hasRequiredFiles (fixes #177) #178

merged 1 commit into from
May 9, 2019

Conversation

jgarber623
Copy link
Contributor

- Summary

This PR fixes issue #177, an error in the Middleman detector added in #172.

- Test plan

Running npm test in the project's root folder throws a bunch of unrelated errors, but… the change here mimics other detectors in this repo (especially the jekyll.js detector.

- Description for the changelog

Change uses the existing existsSync imported function rather than the unimported hasRequiredFiles that was throwing the errors reported in #177.

- A picture of a cute animal (not mandatory but encouraged)

Corgi in a sweater

@swyxio
Copy link
Contributor

swyxio commented May 9, 2019

thanks for the PR and cute corgi! i will adjust

@swyxio swyxio merged commit 758315d into netlify:master May 9, 2019
@jgarber623
Copy link
Contributor Author

@sw-yx Thanks for the quick review and merge!

@jgarber623 jgarber623 deleted the fix-middleman-detector-referenceerror branch May 9, 2019 14:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants