Skip to content

Commit

Permalink
didn't need to remove lint/github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hzoo committed Aug 27, 2020
1 parent fcf1107 commit 6d2980f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ packages/babel-parser/test/expressions
eslint/*/lib
eslint/*/node_modules
eslint/*/test/fixtures
sandbox/src/
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

# on: [push, pull_request]
on: [push, pull_request]

jobs:
prepare-yarn-cache:
Expand Down
4 changes: 2 additions & 2 deletions sandbox/src/gzip.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// from developit
function memo(fn, c = {}) {
return (p) => c[p] || (c[p] = fn(p));
return p => c[p] || (c[p] = fn(p));
}

// npm.im/greenlet
Expand Down Expand Up @@ -53,7 +53,7 @@ function greenlet(e) {
}

export const gzipSize = memo(
greenlet((code) => {
greenlet(code => {
if (!self.pako)
importScripts("https://unpkg.com/pako@1.0.11/dist/pako_deflate.min.js");
const compressed = self.pako.gzip(code);
Expand Down

0 comments on commit 6d2980f

Please sign in to comment.