Skip to content

Commit

Permalink
c8 coverage update
Browse files Browse the repository at this point in the history
  • Loading branch information
Dando18 committed Dec 4, 2024
1 parent 8fe115f commit fe2ab51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ export class JobQueueProvider implements vscode.TreeDataProvider<JobItem | InfoI

this.initAutoRefresh();
vscode.workspace.onDidChangeConfiguration(e => {
/* c8 ignore next 3 */
if (e.affectsConfiguration('slurm-dashboard.job-dashboard.refreshInterval')) {
this.initAutoRefresh();
}
Expand Down
2 changes: 1 addition & 1 deletion src/jobscripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class JobScriptProvider implements vscode.TreeDataProvider<JobScript> {
const jobScriptExts = vscode.workspace
.getConfiguration('slurm-dashboard')
.get('submit-dashboard.jobScriptExtensions', ['.slurm', '.sbatch', '.job']);
/* c8 ignore next 6 */
/* c8 ignore next 7 */
if (JSON.stringify(jobScriptExts) !== JSON.stringify(['.slurm', '.sbatch', '.job'])) {
vscode.window.showWarningMessage(
'The slurm-dashboard.submit-dashboard.jobScriptExtensions setting has been modified, but ' +
Expand Down

0 comments on commit fe2ab51

Please sign in to comment.