Skip to content

Commit

Permalink
fix: add 2 missing spaces for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Nov 25, 2024
1 parent edb77a6 commit f787260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ class Github {
}
if (/^\s*#\s*-r\s+\S*requirements\//.test(line)) {
// Replace everything before 'requirements/' with '# -r requirements/'

Check failure on line 451 in src/github.js

View workflow job for this annotation

GitHub Actions / build

Expected indentation of 10 spaces but found 12
const fixedLine = line.replace(/#\s*-r\s+\S*requirements\//, '# -r requirements/');
const fixedLine = line.replace(/#\s*-r\s+\S*requirements\//, '# -r requirements/');

Check failure on line 452 in src/github.js

View workflow job for this annotation

GitHub Actions / build

Expected indentation of 10 spaces but found 12

if (fixedLine !== line) {

Check failure on line 454 in src/github.js

View workflow job for this annotation

GitHub Actions / build

Expected indentation of 10 spaces but found 12
needsUpdate = true;

Check failure on line 455 in src/github.js

View workflow job for this annotation

GitHub Actions / build

Expected indentation of 12 spaces but found 16
Expand Down

0 comments on commit f787260

Please sign in to comment.