Skip to content

Commit

Permalink
fix: make minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
parishahla committed Dec 17, 2024
1 parent 1830bc0 commit 33dd393
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
4 changes: 1 addition & 3 deletions src/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import ILiaraJSON from '../types/liara-json.js';
import buildLogs from '../services/build-logs.js';
import BuildFailed from '../errors/build-failed.js';
import validatePort from '../utils/validate-port.js';
import { promptPort } from '../utils/prompt-port.js';
import BuildCanceled from '../errors/build-cancel.js';
import BuildTimeout from '../errors/build-timeout.js';
import { createDebugLogger } from '../utils/output.js';
Expand All @@ -43,7 +44,6 @@ import CreateArchiveException from '../errors/create-archive.js';
import IGetProjectsResponse from '../types/get-project-response.js';
import ReachedMaxSourceSizeError from '../errors/max-source-size.js';
import getPlatformVersion from '../services/get-platform-version.js';
import { promptPort } from '../utils/promptPort.js';

export default class Deploy extends Command {
static description = 'deploy an app';
Expand Down Expand Up @@ -244,8 +244,6 @@ export default class Deploy extends Command {
'--colorize',
'--api-token',
config['api-token'] || '',
'--region',
config.region || '',
]);
}
} catch (error) {
Expand Down
18 changes: 9 additions & 9 deletions src/commands/init.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import { Args, Config, Flags } from '@oclif/core';
import fs from 'fs-extra';
import ora from 'ora';
import inquirer from 'inquirer';
import chalk from 'chalk';
import path from 'path';
import fs from 'fs-extra';
import chalk from 'chalk';
import inquirer from 'inquirer';
import { Args, Config, Flags } from '@oclif/core';

import { promptPort } from '../utils/promptPort.js';
import Command, { IProject } from '../base.js';
import { getPort } from '../utils/get-port.js';
import IGetProjectsResponse from '../types/get-project-response.js';
import ILiaraJSON from '../types/liara-json.js';
import supportedVersions from '../utils/get-supported-versions.js';
import detectPlatform from '../utils/detect-platform.js';
import { IDisk, IGetDiskResponse } from '../types/get-disk-response.js';
import { promptPort } from '../utils/prompt-port.js';
import { AVAILABLE_PLATFORMS } from '../constants.js';
import IHealthConfig from '../types/health-config.js';
import detectPlatform from '../utils/detect-platform.js';
import supportedVersions from '../utils/get-supported-versions.js';
import IGetProjectsResponse from '../types/get-project-response.js';
import { IDisk, IGetDiskResponse } from '../types/get-disk-response.js';

export default class Init extends Command {
static override description = 'create a liara.json file';
Expand Down
File renamed without changes.

0 comments on commit 33dd393

Please sign in to comment.