Skip to content

Commit d712f0f

Browse files
committed
resolve knip reports
1 parent bb56c51 commit d712f0f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/react-on-rails-pro-node-renderer/src/shared/licenseValidator.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ export function getValidatedLicenseData(): LicenseData {
230230
* Checks if the current license is an evaluation/free license.
231231
*
232232
* @returns true if plan is not "paid"
233+
* @public TODO: Remove this line when this function is actually used
233234
*/
234235
export function isEvaluation(): boolean {
235236
const data = getValidatedLicenseData();
@@ -241,6 +242,7 @@ export function isEvaluation(): boolean {
241242
* Returns remaining grace period days if license is expired but in grace period.
242243
*
243244
* @returns Number of days remaining, or undefined if not in grace period
245+
* @public TODO: Remove this line when this function is actually used
244246
*/
245247
export function getGraceDaysRemaining(): number | undefined {
246248
// Ensure license is validated and cached
@@ -252,6 +254,7 @@ export function getGraceDaysRemaining(): number | undefined {
252254

253255
/**
254256
* Resets all cached validation state (primarily for testing).
257+
* @public TODO: Remove this line when this function is actually used
255258
*/
256259
export function reset(): void {
257260
cachedLicenseData = undefined;

packages/react-on-rails-pro-node-renderer/src/worker/vm.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,9 @@ export function resetVM() {
354354
}
355355

356356
// Optional: Add a method to remove a specific VM if needed
357+
/**
358+
* @public TODO: Remove the line below when this function is actually used
359+
*/
357360
export function removeVM(bundlePath: string) {
358361
vmContexts.delete(bundlePath);
359362
}

0 commit comments

Comments
 (0)