@@ -17,7 +17,6 @@ import {
1717 ACTION_YML ,
1818 ACTION_YML_TEMPLATE_PATH ,
1919 CWD ,
20- TEMPLATES_DIR ,
2120 TEMPLATES_DYNAMIC_DIR ,
2221 TEMPLATES_STATIC_DIR ,
2322} from "../../constants.js" ;
@@ -53,15 +52,15 @@ export const checkCommand = new Command()
5352 )
5453 . option ( "-v, --verbose" , "Enable verbose output." , false )
5554 . action ( ( options ) => {
56- check ( options , false ) ;
55+ check ( options ) ;
5756 } ) ;
5857
5958// eslint-disable-next-line @typescript-eslint/no-unused-vars
6059const checkOptions = checkCommand . opts ( ) ;
6160// The options are identical for both, so we do not create a union.
6261type CheckOptions = typeof checkOptions ;
6362
64- function check ( options : CheckOptions , typeScript : boolean ) {
63+ function check ( options : CheckOptions ) {
6564 const { verbose } = options ;
6665
6766 let oneOrMoreErrors = false ;
@@ -76,14 +75,7 @@ function check(options: CheckOptions, typeScript: boolean) {
7675 oneOrMoreErrors = true ;
7776 }
7877
79- // Second, check the files that are specific to either a TypeScript project or an IsaacScript mod.
80- const staticDirSuffix = typeScript ? "ts" : "mod" ;
81- const staticDirPath = path . join ( TEMPLATES_DIR , `static-${ staticDirSuffix } ` ) ;
82- if ( checkTemplateDirectory ( staticDirPath , ignoreFileNamesSet , verbose ) ) {
83- oneOrMoreErrors = true ;
84- }
85-
86- // Third, check dynamic files that require specific logic.
78+ // Second, check dynamic files that require specific logic.
8779 if ( checkIndividualFiles ( ignoreFileNamesSet , verbose ) ) {
8880 oneOrMoreErrors = true ;
8981 }
0 commit comments