Commit f69b9e5

Anton Medvedev <anton@medv.io>
2021-08-22 23:21:10
Fix code style
1 parent 79be5c2
Changed files (1)
index.mjs
@@ -24,13 +24,12 @@ import chalk from 'chalk'
 import minimist from 'minimist'
 
 export {chalk, fs}
-
+export const sleep = promisify(setTimeout)
 export const argv = minimist(process.argv.slice(2))
 
 export const globby = Object.assign(function globby(...args) {
   return globbyModule.globby(...args)
 }, globbyModule)
-
 export const glob = globby
 
 export function $(pieces, ...args) {
@@ -155,8 +154,6 @@ export async function fetch(url, init) {
   return nodeFetch(url, init)
 }
 
-export const sleep = promisify(setTimeout)
-
 export function nothrow(promise) {
   promise._nothrow = true
   return promise