久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<small id='i9Trm'></small><noframes id='i9Trm'>

      1. <legend id='i9Trm'><style id='i9Trm'><dir id='i9Trm'><q id='i9Trm'></q></dir></style></legend>
        <tfoot id='i9Trm'></tfoot>
          <bdo id='i9Trm'></bdo><ul id='i9Trm'></ul>

      2. <i id='i9Trm'><tr id='i9Trm'><dt id='i9Trm'><q id='i9Trm'><span id='i9Trm'><b id='i9Trm'><form id='i9Trm'><ins id='i9Trm'></ins><ul id='i9Trm'></ul><sub id='i9Trm'></sub></form><legend id='i9Trm'></legend><bdo id='i9Trm'><pre id='i9Trm'><center id='i9Trm'></center></pre></bdo></b><th id='i9Trm'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='i9Trm'><tfoot id='i9Trm'></tfoot><dl id='i9Trm'><fieldset id='i9Trm'></fieldset></dl></div>

        如果滿足條件,則停止 Gulp 任務

        Stop Gulp Task if Conditions are met(如果滿足條件,則停止 Gulp 任務)
        <i id='RBIXe'><tr id='RBIXe'><dt id='RBIXe'><q id='RBIXe'><span id='RBIXe'><b id='RBIXe'><form id='RBIXe'><ins id='RBIXe'></ins><ul id='RBIXe'></ul><sub id='RBIXe'></sub></form><legend id='RBIXe'></legend><bdo id='RBIXe'><pre id='RBIXe'><center id='RBIXe'></center></pre></bdo></b><th id='RBIXe'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='RBIXe'><tfoot id='RBIXe'></tfoot><dl id='RBIXe'><fieldset id='RBIXe'></fieldset></dl></div>

          <tbody id='RBIXe'></tbody>
      3. <legend id='RBIXe'><style id='RBIXe'><dir id='RBIXe'><q id='RBIXe'></q></dir></style></legend>

        <tfoot id='RBIXe'></tfoot>

        <small id='RBIXe'></small><noframes id='RBIXe'>

          <bdo id='RBIXe'></bdo><ul id='RBIXe'></ul>

                • 本文介紹了如果滿足條件,則停止 Gulp 任務的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我正在嘗試這樣做,因此如果未指定 --theme 標志,它會停止 gulp 任務并想知道以 DRY 方式執行此任務的最佳方法.

                  I am trying to make it so if a --theme flag isn't specified it stops the gulp task and wondering the best way to do it in a DRY way.

                  如果未指定 --theme,我希望每個單獨的任務停止,并且如果未滿足,我希望默認任務停止.

                  I would like each individual task to stop if a --theme isn't specified and also have the default task stop if it isn't met.

                  到目前為止,我已經嘗試了一些沒有運氣的事情.

                  I have tried a few things with no luck so far.

                  謝謝,

                  gulp.task('test', function() {
                  
                      if(typeof(args.theme) == 'undefined' || args.theme === true) {
                          console.log(msg.noTheme);
                          return; // end task
                      }
                  
                      // run rest of task...
                  
                  });
                  
                  gulp.task('test-2', function() {
                  
                      if(typeof(args.theme) == 'undefined' || args.theme === true) {
                          console.log(msg.noTheme);
                          return; // end task
                      }
                  
                      // run rest of task...
                  
                  });
                  
                  gulp.task('default', ['test-1', 'test-2']);
                  

                  推薦答案

                  您可以簡單地停止腳本:

                  You can simply stop the script with:

                  process.exit()
                  

                  這篇關于如果滿足條件,則停止 Gulp 任務的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Browserify, Babel 6, Gulp - Unexpected token on spread operator(Browserify,Babel 6,Gulp - 傳播運算符上的意外令牌)
                  Is it possible to pass a flag to Gulp to have it run tasks in different ways?(是否可以將標志傳遞給 Gulp 以使其以不同的方式運行任務?)
                  Why do we need to install gulp globally and locally?(為什么我們需要在全局和本地安裝 gulp?)
                  How to run Gulp tasks sequentially one after the other(如何一個接一個地依次運行 Gulp 任務)
                  Stylesheet not loaded because of MIME-type(由于 MIME 類型而未加載樣式表)
                  Visual Studio 2015 crashes when opening Javascript files(打開 Javascript 文件時 Visual Studio 2015 崩潰)

                      <tbody id='dIdGn'></tbody>
                    • <bdo id='dIdGn'></bdo><ul id='dIdGn'></ul>
                    • <tfoot id='dIdGn'></tfoot>

                            <i id='dIdGn'><tr id='dIdGn'><dt id='dIdGn'><q id='dIdGn'><span id='dIdGn'><b id='dIdGn'><form id='dIdGn'><ins id='dIdGn'></ins><ul id='dIdGn'></ul><sub id='dIdGn'></sub></form><legend id='dIdGn'></legend><bdo id='dIdGn'><pre id='dIdGn'><center id='dIdGn'></center></pre></bdo></b><th id='dIdGn'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='dIdGn'><tfoot id='dIdGn'></tfoot><dl id='dIdGn'><fieldset id='dIdGn'></fieldset></dl></div>
                            <legend id='dIdGn'><style id='dIdGn'><dir id='dIdGn'><q id='dIdGn'></q></dir></style></legend>

                            <small id='dIdGn'></small><noframes id='dIdGn'>

                          1. 主站蜘蛛池模板: 北条麻妃一区二区三区在线视频 | 久久国产三级 | 中文字幕第十五页 | 国产日韩一区二区 | 久久久久91| 免费看一区二区三区 | 在线亚洲免费视频 | 三级成人在线 | 国产在线永久免费 | 99国产视频 | 日日摸夜夜添夜夜添特色大片 | 免费国产成人av | 97色伦网 | 午夜在线免费观看视频 | 日韩成人高清在线 | 91天堂| 欧美精选一区二区 | 亚洲精品一区二区三区四区高清 | 午夜激情视频 | 91精品国产91久久久久久最新 | 高清久久久 | 欧美激情综合 | 91视频官网 | 中文字幕福利 | 久久久久久久久久久蜜桃 | 天天射天天干 | 怡红院怡春院一级毛片 | 久久久影院| 91视频国产精品 | 欧美日韩在线成人 | 成人免费视频观看 | 亚洲成人动漫在线观看 | 久久久久久久久久毛片 | 一区二区三区在线观看免费视频 | 巨大黑人极品videos精品 | 国产精品福利在线 | 亚洲欧美在线一区 | 成人国产综合 | 少妇特黄a一区二区三区88av | 欧美日韩久 | 国产精品高清在线 |