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

Netlify init deprecation warning #266

Closed
DavidWells opened this issue Mar 15, 2019 · 2 comments
Closed

Netlify init deprecation warning #266

DavidWells opened this issue Mar 15, 2019 · 2 comments
Labels
area: command: init type: bug code to address defects in shipped code

Comments

@DavidWells
Copy link
Contributor

DavidWells commented Mar 15, 2019

There is a deprecation warning on netlify init

[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4

Full log

ndev git:(master) netlify init
? What would you like to do? +  Create & configure a new site
Choose a site name or leave blank for a random name. You can update later.
? Site name (optional): ndev
? Account: David Wells  (personal)

Site Created

Admin URL: https://app.netlify.com/sites/ndev
URL:       https://ndev.netlify.com
Site ID:   b26c0160xxxxxc39ccde
[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4
? Your build command (hugo build/yarn run build/etc): npm run build
? Directory to deploy (blank for current dir): build

Creating Netlify Github Notification Hooks...
Netlify Notification Hooks configured!

Netlify CI/CD Configured!

This site is now configured to automatically deploy from github branches & pull requests

Next steps:

  git push       Push to your git repository to trigger new site builds
  netlify open   Open the netlify admin url of your site

In node v10.4.1 on mac

@bcomnes
Copy link
Contributor

bcomnes commented Mar 15, 2019

See #193

Two things here:

@erezrokah erezrokah added type: bug code to address defects in shipped code area: command: init labels Aug 20, 2020
@erezrokah
Copy link
Contributor

I'm not seeing this message when running ntl init. Closing as stale.
Please comment if still relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: command: init type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

3 participants