Skip to content

Commit

Permalink
✨ Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
yezz123 committed Feb 24, 2024
1 parent 6f8ea07 commit bf04abe
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31906,25 +31906,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getVenvInput = exports.getVersionInput = exports.getBooleanInput = exports.getInputs = void 0;
exports.getVenvInput = exports.getVersionInput = exports.getInputs = void 0;
const core_1 = __nccwpck_require__(2186);
const semver_1 = __importDefault(__nccwpck_require__(1383));
function getInputs() {
return {
preview: getBooleanInput('uv-preview'),
version: getVersionInput('uv-version'),
venv: getVenvInput('uv-venv')
};
}
exports.getInputs = getInputs;
function getBooleanInput(name, default_ = false) {
const value = (0, core_1.getInput)(name);
if (!value) {
return default_;
}
return value === 'true';
}
exports.getBooleanInput = getBooleanInput;
function getVersionInput(name) {
const version = (0, core_1.getInput)(name);
if (!version) {
Expand Down

0 comments on commit bf04abe

Please sign in to comment.