Skip to content

Commit 3db8e03

Browse files
committed
chore: apply linting rules
1 parent 6e14df5 commit 3db8e03

4 files changed

Lines changed: 5 additions & 9 deletions

File tree

src/strategies/julia.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
parseJuliaProject,
2323
JuliaProjectToml,
2424
} from '../updaters/julia/project-toml';
25-
import {FileNotFoundError} from '../errors';
2625
import {filterCommits} from '../util/filter-commits';
2726

2827
const CHANGELOG_SECTIONS = [
@@ -89,7 +88,6 @@ export class Julia extends BaseStrategy {
8988
this.addPath('JuliaProject.toml')
9089
);
9190

92-
9391
juliaProject = parsedJuliaProject?.project;
9492

9593
projectName = this.component;

src/updaters/julia/project-toml.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ export class JuliaProjectToml extends DefaultUpdater {
5252
throw new Error(msg);
5353
}
5454

55-
return replaceTomlValue(
56-
content,
57-
['version'],
58-
this.version.toString()
59-
);
55+
return replaceTomlValue(content, ['version'], this.version.toString());
6056
}
6157
}

test/strategies/julia.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ describe('Julia', () => {
9191
.resolves(buildGitHubFileContent(fixturesPath, 'Project.toml'));
9292
sandbox.stub(github, 'findFilesByFilenameAndRef').resolves([]);
9393
const latestRelease = {
94-
tag: new TagName(Version.parse('0.123.4'), 'ReleasePleaseJuliaStrategy'),
94+
tag: new TagName(
95+
Version.parse('0.123.4'),
96+
'ReleasePleaseJuliaStrategy'
97+
),
9598
sha: 'abc123',
9699
notes: 'some notes',
97100
};

test/updaters/julia-project-toml.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,3 @@ describe('julia-project.toml', () => {
5959
});
6060
});
6161
});
62-

0 commit comments

Comments
 (0)