File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ module.exports = {
7575 return {
7676 name : options . name ,
7777
78- willDeploy : function ( context ) {
78+ configure : function ( context ) {
7979 var deployment = context . deployment ;
8080 var ui = deployment . ui ;
8181 var config = deployment . config [ this . name ] = deployment . config [ this . name ] || { } ;
Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ describe('gzip plugin', function() {
2626 name : 'test-plugin'
2727 } ) ;
2828
29- assert . equal ( typeof result . willDeploy , 'function' ) ;
29+ assert . equal ( typeof result . configure , 'function' ) ;
3030 assert . equal ( typeof result . willUpload , 'function' ) ;
3131 } ) ;
3232
33- describe ( 'willDeploy hook' , function ( ) {
33+ describe ( 'configure hook' , function ( ) {
3434 it ( 'resolves if config is ok' , function ( ) {
3535 var plugin = subject . createDeployPlugin ( {
3636 name : 'gzip'
@@ -47,7 +47,7 @@ describe('gzip plugin', function() {
4747 }
4848 } ;
4949
50- return assert . isFulfilled ( plugin . willDeploy . call ( plugin , context ) )
50+ return assert . isFulfilled ( plugin . configure . call ( plugin , context ) )
5151 } ) ;
5252 } ) ;
5353
You can’t perform that action at this time.
0 commit comments