Skip to content

Commit

Permalink
fix: fix windows bug & removed bad deps
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh committed Oct 17, 2019
1 parent a5c09c4 commit c061f5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"branch": "next"
},
"dependencies": {
"@types/lodash": "^4.14.144",
"aws-sdk": "^2.544.0",
"lodash": "^4.17.15",
"table": "^5.4.6",
Expand All @@ -56,6 +55,7 @@
"@commitlint/cli": "^8.2.0",
"@istanbuljs/nyc-config-typescript": "^0.1.3",
"@types/jest": "^24.0.18",
"@types/lodash": "^4.14.144",
"@types/node": "^12.7.5",
"@types/prettier": "^1.18.3",
"@types/table": "^4.0.7",
Expand Down
3 changes: 2 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { sep } from 'path';
import * as yargs from 'yargs';

import {
Expand Down Expand Up @@ -246,7 +247,7 @@ export const main = (argvInput?: string[]) =>
if (
require.main &&
(require.main.filename === module.filename ||
require.main.filename.endsWith('/bin/aws-spot-price'))
require.main.filename.endsWith(`${sep}bin${sep}aws-spot-price`))
) {
(async () => {
await main();
Expand Down

0 comments on commit c061f5d

Please sign in to comment.