Skip to content

Commit c19fe71

Browse files
committed
Fix import from js
1 parent 2f96775 commit c19fe71

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/annotation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {AnnotationProperties} from '@actions/core'
2-
import {AnnotationSeverityLevel} from './annotation-severity-level'
2+
import {AnnotationSeverityLevel} from './annotation-severity-level.js'
33

44
export class Annotation {
55
severityLevel: AnnotationSeverityLevel

src/command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as core from '@actions/core'
2-
import {Annotation} from './annotation'
2+
import {Annotation} from './annotation.js'
33

44
export const echoMessages = (annotations: Annotation[]): void => {
55
for (const annotation of annotations) {

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as core from '@actions/core'
22
import * as glob from '@actions/glob'
3-
import {echoMessages} from './command'
4-
import {parseXmls} from './parser'
3+
import {echoMessages} from './command.js'
4+
import {parseXmls} from './parser.js'
55

66
async function run(): Promise<void> {
77
try {

src/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from 'fs'
22
import * as core from '@actions/core'
33
import * as xml2js from 'xml2js'
4-
import {Annotation} from './annotation'
4+
import {Annotation} from './annotation.js'
55

66
export const parseXmls = async (
77
files: string[],

0 commit comments

Comments
 (0)