Skip to content

Commit

Permalink
fix CLI cmd activation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
leonstafford committed Dec 4, 2020
1 parent e4f9a31 commit 095d4ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class CLI {
* @param string[] $args CLI args
* @param string[] $assoc_args CLI args
*/
public function netlify(
public static function netlify(
array $args,
array $assoc_args
) : void {
Expand Down
4 changes: 2 additions & 2 deletions wp2static-addon-netlify.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: WP2Static Add-on: Netlify Deployment
* Plugin URI: https://wp2static.com
* Description: Netlify deployment add-on for WP2Static.
* Version: 1.0
* Version: 1.0.1-dev
* Author: Leon Stafford
* Author URI: https://ljs.dev
* License: Unlicense
Expand All @@ -17,7 +17,7 @@
}

define( 'WP2STATIC_NETLIFY_PATH', plugin_dir_path( __FILE__ ) );
define( 'WP2STATIC_NETLIFY_VERSION', '1.0' );
define( 'WP2STATIC_NETLIFY_VERSION', '1.0.1-dev' );

if ( file_exists( WP2STATIC_NETLIFY_PATH . 'vendor/autoload.php' ) ) {
require WP2STATIC_NETLIFY_PATH . 'vendor/autoload.php';
Expand Down

0 comments on commit 095d4ea

Please sign in to comment.