Skip to content

Commit

Permalink
Moving polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
atomicpages committed Jun 9, 2019
1 parent dc01d94 commit a9e7741
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/sync-dir.ts
Expand Up @@ -4,6 +4,10 @@ import { resolve } from 'path'
import * as fs from 'fs-extra'
import { getFileHash } from './copy'

// Symbol.asyncIterator polyfill for Node 8 + 9
;(Symbol as any).asyncIterator =
Symbol.asyncIterator || Symbol('Symbol.asyncIterator')

const globP = util.promisify(glob)

const cache: {
Expand Down
4 changes: 0 additions & 4 deletions src/yalc.ts
Expand Up @@ -14,10 +14,6 @@ import { showInstallations, cleanInstallations } from './installations'

import { checkManifest } from './check'

// Symbol.asyncIterator polyfill for Node 8 + 9
;(Symbol as any).asyncIterator =
Symbol.asyncIterator || Symbol('Symbol.asyncIterator')

const publishFlags = ['knit', 'force', 'sig', 'changed', 'yarn', 'files']

const cliCommand = values.myNameIs
Expand Down

0 comments on commit a9e7741

Please sign in to comment.