Skip to content

Commit

Permalink
fix: node bin slash should be #!/usr/bin/env node
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Oct 3, 2019
1 parent 4eb2085 commit 680a682
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/imagemin/src/cli.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/node
#!/usr/bin/env node
import imagemin from '.'

Promise.all(process.argv.slice(2).map(imagemin)).catch(e => {
Expand Down
4 changes: 2 additions & 2 deletions packages/rollup/src/cli.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/node
#!/usr/bin/env node
import program from 'commander'
import debug from 'debug'
import JSOX from 'jsox'
import { pick } from 'lodash'
import pick from 'lodash/pick'
import { InputOptions, OutputOptions, rollup, watch } from 'rollup'

import config, { ConfigOptions } from './config'
Expand Down
2 changes: 1 addition & 1 deletion packages/rollup/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import alias, { AliasOptions } from '@rxts/rollup-plugin-alias'
import builtinModules from 'builtin-modules'
import debug from 'debug'
import fs from 'fs'
import { flatMap } from 'lodash'
import flatMap from 'lodash/flatMap'
import path from 'path'
import {
ModuleFormat,
Expand Down

0 comments on commit 680a682

Please sign in to comment.