Skip to content

Commit 1b292c2

Browse files
committed
Typo
1 parent 30435d4 commit 1b292c2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as github from '@actions/github'
33
import { exec } from '@actions/exec'
44
import { execSync } from 'child_process'
55
import sqlite3 from 'sqlite3'
6-
import { open } from 'sqlite'
6+
import { open } from 'sqlite'
77

88
const dbfile = 'github-archive.db'
99
const events = [
@@ -17,7 +17,7 @@ async function run(): Promise<void> {
1717
core.info(
1818
'[INFO] Usage https://github.com/githubocto/github-archive-action#readme'
1919
)
20-
core.core.startGroup('Setup')
20+
core.startGroup('Setup')
2121
// Configure git user/email
2222
const username = 'github-archive-action'
2323
await exec('git', ['config', 'user.name', username])
@@ -73,7 +73,7 @@ async function run(): Promise<void> {
7373
}
7474
await db.run('INSERT INTO events (kind, event) values (:e, :payload)', {
7575
e,
76-
github.context.payload,
76+
payload: github.context.payload,
7777
})
7878
core.info(`Captured ${e} event`)
7979
}

0 commit comments

Comments
 (0)