• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rokucommunity / brighterscript / #13685

03 Feb 2025 04:19PM UTC coverage: 86.753% (-1.4%) from 88.185%
#13685

push

web-flow
Merge 34e72243e into 4afb6f658

12476 of 15203 branches covered (82.06%)

Branch coverage included in aggregate %.

7751 of 8408 new or added lines in 101 files covered. (92.19%)

85 existing lines in 17 files now uncovered.

13398 of 14622 relevant lines covered (91.63%)

34302.59 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
/src/bscPlugin/FileWriter.ts
1
import type { WriteFileEvent } from '../interfaces';
2
import * as fsExtra from 'fs-extra';
1✔
3

4
export class FileWriter {
1✔
5
    constructor(
6
        private event: WriteFileEvent
1,105✔
7
    ) { }
8

9
    public async process() {
10
        //if no plugin has handled this file yet, we will handle it
11
        if (!this.event.processedFiles.has(this.event.file)) {
1,105✔
12
            if (this.event.file.data) {
111!
13
                //write the file to disk
14
                await fsExtra.outputFile(this.event.outputPath, this.event.file.data);
111✔
15
                this.event.processedFiles.add(this.event.file);
111✔
16
            } else {
NEW
17
                console.warn(`Missing file data for: "${this.event.file.pkgPath}"`);
×
18
            }
19
        }
20
    }
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc