Skip to content

Commit

Permalink
Fixed the custom HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed Oct 26, 2023
1 parent 809fbd1 commit 0fe9209
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/projector/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@ export class ProjectorHtml extends Projector {
public pluginspage: string | null = null;

/**
* Required src/movie URL.
* Required src/movie URL (unless using custom HTML).
*/
public src: string = '';

/**
* Required movie width.
* Required movie width (unless using custom HTML).
*/
public width: string | number | null = null;

/**
* Required movie height.
* Required movie height (unless using custom HTML).
*/
public height: string | number | null = null;

Expand Down Expand Up @@ -188,7 +188,7 @@ export class ProjectorHtml extends Projector {
public async write() {
const {path} = this;
await mkdir(dirname(path), {recursive: true});
await writeFile(path, this.getHtmlDefault());
await writeFile(path, this.getHtml());

Check failure on line 191 in src/projector/html.ts

View workflow job for this annotation

GitHub Actions / build (18.12.0)

Argument of type 'Promise<string>' is not assignable to parameter of type 'string | Stream | ArrayBufferView | Iterable<string | ArrayBufferView> | AsyncIterable<string | ArrayBufferView>'.

Check failure on line 191 in src/projector/html.ts

View workflow job for this annotation

GitHub Actions / build (18.18.0, 1)

Argument of type 'Promise<string>' is not assignable to parameter of type 'string | Stream | ArrayBufferView | Iterable<string | ArrayBufferView> | AsyncIterable<string | ArrayBufferView>'.

Check failure on line 191 in src/projector/html.ts

View workflow job for this annotation

GitHub Actions / build (20.8.0)

Argument of type 'Promise<string>' is not assignable to parameter of type 'string | Stream | ArrayBufferView | Iterable<string | ArrayBufferView> | AsyncIterable<string | ArrayBufferView>'.

Check failure on line 191 in src/projector/html.ts

View workflow job for this annotation

GitHub Actions / build (18.18.0, 7-windows, shockwave-projector-director-7.0.0-win-win, shockwave-projector-direct...

Argument of type 'Promise<string>' is not assignable to parameter of type 'string | Stream | ArrayBufferView | Iterable<string | ArrayBufferView> | AsyncIterable<string | ArrayBufferView>'.

Check failure on line 191 in src/projector/html.ts

View workflow job for this annotation

GitHub Actions / build (18.18.0, 8-windows, shockwave-projector-director-8.0.0-trial-win-win, shockwave-projector-...

Argument of type 'Promise<string>' is not assignable to parameter of type 'string | Stream | ArrayBufferView | Iterable<string | ArrayBufferView> | AsyncIterable<string | ArrayBufferView>'.

Check failure on line 191 in src/projector/html.ts

View workflow job for this annotation

GitHub Actions / build (18.18.0, 10-windows, shockwave-projector-director-10.0.0-mac-win, shockwave-projector-dire...

Argument of type 'Promise<string>' is not assignable to parameter of type 'string | Stream | ArrayBufferView | Iterable<string | ArrayBufferView> | AsyncIterable<string | ArrayBufferView>'.
}

/**
Expand Down

0 comments on commit 0fe9209

Please sign in to comment.