File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import {AuthContext} from './AuthContext.js'
55import { generateScreenshots } from './generateScreenshots.js'
66import { loadPlugins , invokePlugin } from './pluginManager.js'
77import { getScansContext } from './scansContextProvider.js'
8- import core from '@actions/core'
8+ import * as core from '@actions/core'
99
1010export async function findForUrl (
1111 url : string ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import fs from 'node:fs'
22import path from 'node:path'
33import crypto from 'node:crypto'
44import type { Page } from 'playwright'
5- import core from '@actions/core'
5+ import * as core from '@actions/core'
66
77// Use GITHUB_WORKSPACE to ensure screenshots are saved in the workflow workspace root
88// where the artifact upload step can find them
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import {fileURLToPath} from 'url'
44import { dynamicImport } from './dynamicImport.js'
55import type { Finding } from './types.d.js'
66import playwright from 'playwright'
7- import core from '@actions/core'
7+ import * as core from '@actions/core'
88
99// Helper to get __dirname equivalent in ES Modules
1010const __filename = fileURLToPath ( import . meta. url )
Original file line number Diff line number Diff line change 1- import core from '@actions/core'
1+ import * as core from '@actions/core'
22
33type ScansContext = {
44 scansToPerform : Array < string >
You can’t perform that action at this time.
0 commit comments