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:
@ -11,9 +11,9 @@ import { Solution } from '../../services/Solution.js'
|
||||
import { TemporaryFolder } from '../../services/TemporaryFolder.js'
|
||||
|
||||
export class RunSolutionCommand extends Command {
|
||||
static paths = [['run', 'solution']]
|
||||
public static override paths = [['run', 'solution']]
|
||||
|
||||
static usage = {
|
||||
public static override usage = {
|
||||
description: 'Run the solution with the given `input.txt` file.'
|
||||
}
|
||||
|
||||
@ -45,7 +45,7 @@ export class RunSolutionCommand extends Command {
|
||||
description: 'Display the output of the solution.'
|
||||
})
|
||||
|
||||
async execute(): Promise<number> {
|
||||
public async execute(): Promise<number> {
|
||||
console.log()
|
||||
try {
|
||||
await TemporaryFolder.cleanAll()
|
||||
|
@ -10,9 +10,9 @@ import { SolutionTestsResult } from '../../services/SolutionTestsResult.js'
|
||||
import { TemporaryFolder } from '../../services/TemporaryFolder.js'
|
||||
|
||||
export class RunTestCommand extends Command {
|
||||
static paths = [['run', 'test']]
|
||||
public static override paths = [['run', 'test']]
|
||||
|
||||
static usage = {
|
||||
public static override usage = {
|
||||
description:
|
||||
'Test if the solution is correct and display where it succeeds and fails.'
|
||||
}
|
||||
@ -44,7 +44,7 @@ export class RunTestCommand extends Command {
|
||||
description: 'Base of the current branch (usually master).'
|
||||
})
|
||||
|
||||
async execute(): Promise<number> {
|
||||
public async execute(): Promise<number> {
|
||||
console.log()
|
||||
try {
|
||||
await TemporaryFolder.cleanAll()
|
||||
|
Reference in New Issue
Block a user