Skip to content

Commit

Permalink
Merge pull request #124 from openzim/remove-codefactor-warning
Browse files Browse the repository at this point in the history
Remove an unused variable
  • Loading branch information
kelson42 authored Dec 9, 2023
2 parents 32b5962 + 29ac7e4 commit 7385d2d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dev/hackPackageVersion.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { writeFileSync } from "fs";

import pkg, { version } from "../package.json";

Check warning on line 2 in dev/hackPackageVersion.js

View workflow job for this annotation

GitHub Actions / CI (ubuntu-20.04, 18)

'version' is defined but never used

Check warning on line 2 in dev/hackPackageVersion.js

View workflow job for this annotation

GitHub Actions / CI (ubuntu-20.04, 20)

'version' is defined but never used

Check warning on line 2 in dev/hackPackageVersion.js

View workflow job for this annotation

GitHub Actions / CI (ubuntu-20.04, 21)

'version' is defined but never used

Check warning on line 2 in dev/hackPackageVersion.js

View workflow job for this annotation

GitHub Actions / CI (ubuntu-22.04, 18)

'version' is defined but never used

Check warning on line 2 in dev/hackPackageVersion.js

View workflow job for this annotation

GitHub Actions / CI (ubuntu-22.04, 20)

'version' is defined but never used

Check warning on line 2 in dev/hackPackageVersion.js

View workflow job for this annotation

GitHub Actions / CI (ubuntu-22.04, 21)

'version' is defined but never used

Check warning on line 2 in dev/hackPackageVersion.js

View workflow job for this annotation

GitHub Actions / CI (macos-12, 18)

'version' is defined but never used

Check warning on line 2 in dev/hackPackageVersion.js

View workflow job for this annotation

GitHub Actions / CI (macos-12, 20)

'version' is defined but never used

Check warning on line 2 in dev/hackPackageVersion.js

View workflow job for this annotation

GitHub Actions / CI (macos-12, 21)

'version' is defined but never used

Check warning on line 2 in dev/hackPackageVersion.js

View workflow job for this annotation

GitHub Actions / CI (macos-13, 18)

'version' is defined but never used

Check warning on line 2 in dev/hackPackageVersion.js

View workflow job for this annotation

GitHub Actions / CI (macos-13, 20)

'version' is defined but never used

Check warning on line 2 in dev/hackPackageVersion.js

View workflow job for this annotation

GitHub Actions / CI (macos-13, 21)

'version' is defined but never used
version = `${version}-${Date.now()}`;

writeFileSync("./package.json", JSON.stringify(pkg), "utf8");

0 comments on commit 7385d2d

Please sign in to comment.