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
This returns jonchen@jonchen02:~/workspace/amp-prototyper$ ./amp-prototyper www.dickies.com TypeError: Cannot read property '0' of null at amplifyFunc (/usr/local/google/home/jonchen/workspace/amp-prototyper/src/core.js:349:61) at amplify (/usr/local/google/home/jonchen/workspace/amp-prototyper/src/core.js:481:11) at <anonymous> at process._tickCallback (internal/process/next_tick.js:189:7)
The text was updated successfully, but these errors were encountered:
The code breaks when passing a URL without http(s).
E.g.
./amp-prototyper www.dickies.com/
This returns
jonchen@jonchen02:~/workspace/amp-prototyper$ ./amp-prototyper www.dickies.com TypeError: Cannot read property '0' of null at amplifyFunc (/usr/local/google/home/jonchen/workspace/amp-prototyper/src/core.js:349:61) at amplify (/usr/local/google/home/jonchen/workspace/amp-prototyper/src/core.js:481:11) at <anonymous> at process._tickCallback (internal/process/next_tick.js:189:7)
The text was updated successfully, but these errors were encountered: