Skip to content

Commit c1f2663

Browse files
committed
fix: fix import path issue after renaming
Signed-off-by: seven <[email protected]>
1 parent 9d067bb commit c1f2663

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/commands/deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { deployStack } from '../stack';
22
import { constructActionContext, logger } from '../common';
3-
import { parseYaml } from '../parses';
3+
import { parseYaml } from '../parser';
44

55
export const deploy = async (
66
stackName: string,

src/commands/template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { TemplateFormat } from '../types';
22
import yaml from 'yaml';
33
import { generateStackTemplate } from '../stack/deploy';
44
import { constructActionContext, logger } from '../common';
5-
import { parseYaml } from '../parses';
5+
import { parseYaml } from '../parser';
66

77
export const template = (
88
stackName: string,

src/parser/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { parseEvent } from './eventParser';
55
import { parseDatabase } from './databaseParser';
66
import { parseTag } from './tagParser';
77
import { parse } from 'yaml';
8-
import { validateYaml } from '../validations';
8+
import { validateYaml } from '../validator';
99

1010
const validateExistence = (path: string) => {
1111
if (!existsSync(path)) {

tests/parses/parse.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import path from 'node:path';
2-
import { parseYaml } from '../../src/parses';
2+
import { parseYaml } from '../../src/parser';
33

44
describe('unit test for parse', () => {
55
describe('domain - databases', () => {

tests/validator/validate.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { readFileSync } from 'node:fs';
22
import * as path from 'node:path';
33
import { parse } from 'yaml';
44
import { ServerlessIacRaw } from '../../src/types';
5-
import { validateYaml } from '../../src/validations';
5+
import { validateYaml } from '../../src/validator';
66

77
const jsonIac = parse(
88
readFileSync(path.resolve(__dirname, '../fixtures/serverless-insight.yml'), 'utf8'),

0 commit comments

Comments
 (0)