mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-05-18 12:02:53 +02:00
build(deps): update latest
This commit is contained in:
@ -5,9 +5,9 @@ import chalk from 'chalk'
|
||||
import { Challenge } from '../../services/Challenge.js'
|
||||
|
||||
export class GenerateChallengeCommand extends Command {
|
||||
static paths = [['generate', 'challenge']]
|
||||
public static override paths = [['generate', 'challenge']]
|
||||
|
||||
static usage = {
|
||||
public static override usage = {
|
||||
description: 'Create the basic files needed for a new challenge.'
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ export class GenerateChallengeCommand extends Command {
|
||||
validator: typanion.isString()
|
||||
})
|
||||
|
||||
async execute(): Promise<number> {
|
||||
public async execute(): Promise<number> {
|
||||
try {
|
||||
const challenge = await Challenge.generate({
|
||||
name: this.challenge,
|
||||
|
@ -5,9 +5,9 @@ import chalk from 'chalk'
|
||||
import { Solution } from '../../services/Solution.js'
|
||||
|
||||
export class GenerateSolutionCommand extends Command {
|
||||
static paths = [['generate', 'solution']]
|
||||
public static override paths = [['generate', 'solution']]
|
||||
|
||||
static usage = {
|
||||
public static override usage = {
|
||||
description: 'Create the basic files needed for a new solution.'
|
||||
}
|
||||
|
||||
@ -35,7 +35,7 @@ export class GenerateSolutionCommand extends Command {
|
||||
validator: typanion.isString()
|
||||
})
|
||||
|
||||
async execute(): Promise<number> {
|
||||
public async execute(): Promise<number> {
|
||||
try {
|
||||
const solution = await Solution.generate({
|
||||
name: this.solutionName,
|
||||
|
Reference in New Issue
Block a user