Skip to content

Commit

Permalink
fix boolean parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfoyle committed Apr 16, 2024
1 parent 41da1f2 commit 145a464
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/restore_release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { DistTagMover } from './components/dist_tag_mover.js';
const searchForReleaseStartingFrom = getInput('searchForReleaseStartingFrom', {
required: true,
});
const useNpmRegistry = getInput('useNpmRegistry', { required: true });
const useNpmRegistry =
getInput('useNpmRegistry', { required: true }) === 'true';

if (useNpmRegistry) {
console.log(
Expand Down

0 comments on commit 145a464

Please sign in to comment.