Skip to content
This repository was archived by the owner on Apr 18, 2020. It is now read-only.

Commit afaadab

Browse files
committed
Fixed invalid imports for build status SVGs
1 parent d43916c commit afaadab

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

share/lambda/dist/status.zip

-6 Bytes
Binary file not shown.

share/lambda/dist/webhook.zip

0 Bytes
Binary file not shown.

share/lambda/src/status.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ import * as GitHub from "github"
2525
import { Callback, Context } from "aws-lambda"
2626
import { S3 } from "aws-sdk"
2727

28-
import errored from "../assets/errored.svg"
29-
import failing from "../assets/failing.svg"
30-
import passing from "../assets/passing.svg"
28+
import * as errored from "../assets/errored.svg"
29+
import * as failing from "../assets/failing.svg"
30+
import * as passing from "../assets/passing.svg"
3131

3232
/* ----------------------------------------------------------------------------
3333
* Types

share/lambda/typings/global.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222

2323
declare module "*.svg" {
2424
const value: string
25-
export default value
25+
export = value
2626
}

0 commit comments

Comments
 (0)