Expand Up @@ -23,6 +23,7 @@ import { debounce, isEmpty } from 'lodash' import { FC, useCallback, useEffect, useMemo, useRef, useState } from 'react' import { useTranslation } from 'react-i18next' import styled from 'styled-components' import SendMessageButton from './SendMessageButto...
text()) ); const _ = await use('lodash@latest'); const { stdout } = await $`ls`.pipe`grep js`; const files = _.filter( _.split(stdout, '\n'), (item) => !_.isEmpty(item) ); console.log(files); Give execution permissions chmod +x example.mjs Execute: ./example.mjs...
* cordova\node_modules\lodash\lang\isEmpty.js * cordova\node_modules\lodash\lang\isEqual.js * cordova\node_modules\lodash\lang\isError.js * cordova\node_modules\lodash\lang\isFinite.js * cordova\node_modules\lodash\lang\isFunction.js ...