mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
chore: cloudcmd: actions: lint ☘️
This commit is contained in:
parent
2dd62241f7
commit
fa8875d53c
1 changed files with 3 additions and 1 deletions
|
|
@ -7,6 +7,8 @@ import _forEachKey from 'for-each-key';
|
|||
import log from './log.js';
|
||||
import * as env from '../env.js';
|
||||
|
||||
const isUndefined = (a) => typeof a === 'undefined';
|
||||
|
||||
const noop = () => {};
|
||||
const forEachKey = currify(_forEachKey);
|
||||
|
||||
|
|
@ -58,7 +60,7 @@ const emitAuth = wraptile((importUrl, config, socket) => {
|
|||
|
||||
const updateConfig = currify((config, data) => {
|
||||
for (const [key, value] of entries(data)) {
|
||||
if (typeof env.parse(key) !== 'undefined')
|
||||
if (!isUndefined(env.parse(key)))
|
||||
continue;
|
||||
|
||||
config(key, value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue