Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10611

--nohooks missed disabling before_plugin_install

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-lib
    • None

    Description

      --nohooks option does not disable before_plugin_install hook.
      This was missed from CB-8455.
      Here is the test scenario.

      [nohooks-test] cordova plugin add cordova-plugin-device --nohooks .
      Fetching plugin "cordova-plugin-device@~1.1.1" via npm
      Installing "cordova-plugin-device" for ios
      Running command: /Users/bso/cordova/test/nohooks-test/hooks/before_plugin_install/hook.js /Users/bso/cordova/test/nohooks-test
      before plugin install hook executed
      

      Attachments

        Activity

          People

            bso Byoungro So
            bso Byoungro So
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: