this repo has no description
0
fork

Configure Feed

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

remove ow

+1 -10
+1 -8
commands/config/commands/set/commands/set-mode.js
··· 1 1 import {Argument, Command} from '@commander-js/extra-typings'; 2 2 import {consola} from 'consola'; 3 3 import {getTerminalProfiles, setTerminalProfile} from 'mac-terminal'; 4 - import ow from 'ow'; 5 - import { 6 - getConfig, 7 - getCurrentMode, 8 - modes, 9 - } from '../../../../../library/index.js'; 4 + import {getConfig, getCurrentMode} from '../../../../../library/index.js'; 10 5 11 6 /** 12 7 * Make set mode command ··· 14 9 * @param {'dark' | 'light'} mode 15 10 */ 16 11 export default async function setMode(mode) { 17 - ow(mode, ow.string.oneOf(modes)); 18 - 19 12 return new Command(mode) 20 13 .description(`set terminal profile for ${mode}`) 21 14 .addArgument(
-1
package-lock.json
··· 19 19 "dark-mode": "^5.0.0", 20 20 "es-toolkit": "^1.45.1", 21 21 "mac-terminal": "^5.0.0", 22 - "ow": "^3.0.0", 23 22 "p-memoize": "^8.0.0", 24 23 "read-package-up": "^12.0.0" 25 24 },
-1
package.json
··· 38 38 "dark-mode": "^5.0.0", 39 39 "es-toolkit": "^1.45.1", 40 40 "mac-terminal": "^5.0.0", 41 - "ow": "^3.0.0", 42 41 "p-memoize": "^8.0.0", 43 42 "read-package-up": "^12.0.0" 44 43 },