Pārlūkot izejas kodu

formatting change

Ben Dwyer 4 gadi atpakaļ
vecāks
revīzija
13c0a99987
2 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  1. 0 2
      pre-commit-hook.js
  2. 1 1
      spearhead/functions.php

+ 0 - 2
pre-commit-hook.js

@@ -119,7 +119,5 @@ if ( files.length ) {
 		if ( lintResult.status ) {
 		if ( lintResult.status ) {
 			linterFailure();
 			linterFailure();
 		}
 		}
-	} else {
-		printPhpcsDocs();
 	}
 	}
 }
 }

+ 1 - 1
spearhead/functions.php

@@ -114,7 +114,7 @@ function spearhead_scripts() {
     wp_enqueue_style( 'spearhead-fonts', spearhead_fonts_url(), array(), null );
     wp_enqueue_style( 'spearhead-fonts', spearhead_fonts_url(), array(), null );
 
 
 	// Child theme variables
 	// Child theme variables
-	wp_enqueue_style( 'spearhead-variables-style', get_stylesheet_directory_uri() . '/variables.css', array(), wp_get_theme()->get( 'Version' ) );
+	wp_enqueue_style('spearhead-variables-style', get_stylesheet_directory_uri() . '/variables.css', array(), wp_get_theme()->get( 'Version' ) );
 
 
 	// enqueue child styles
 	// enqueue child styles
 	wp_enqueue_style('spearhead-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ));
 	wp_enqueue_style('spearhead-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ));