this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #1 from IntegerAlex/deepsource-autofix-6b5207ca

refactor: convert logical operator to optional chainining

authored by

Akshat Kotpalliwar and committed by
GitHub
3199c08a 00749a83

+3 -3
+3 -3
index.js
··· 1 1 "use strict"; 2 - var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { 2 + var __awaiter = (this?.__awaiter) || function (thisArg, _arguments, P, generator) { 3 3 function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } 4 4 return new (P || (P = Promise))(function (resolve, reject) { 5 5 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } ··· 8 8 step((generator = generator.apply(thisArg, _arguments || [])).next()); 9 9 }); 10 10 }; 11 - var __importDefault = (this && this.__importDefault) || function (mod) { 12 - return (mod && mod.__esModule) ? mod : { "default": mod }; 11 + var __importDefault = (this?.__importDefault) || function (mod) { 12 + return (mod?.__esModule) ? mod : { "default": mod }; 13 13 }; 14 14 Object.defineProperty(exports, "__esModule", { value: true }); 15 15 const promises_1 = __importDefault(require("fs/promises"));