You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after the release v0.36.16, if you try to run oc dev . where there is a folder w/ a package.json file in it and this folder doesn't contain a component, you get the following error:
Cannot read property 'files' of undefined
this is because the function isOcComponent returns true also if the oc section is missing in the package.json.
I believe that the problem has been introduced w/ this PR:
Description
after the release v0.36.16, if you try to run
oc dev .
where there is a folder w/ a package.json file in it and this folder doesn't contain a component, you get the following error:this is because the function
isOcComponent
returns true also if theoc
section is missing in the package.json.I believe that the problem has been introduced w/ this PR:
#447
and in particular:
https://github.com/opentable/oc/pull/447/files#diff-6810304ebc65ef9905ca3d7d77d8a311
The text was updated successfully, but these errors were encountered: