Skip to content

Commit

Permalink
Open from github
Browse files Browse the repository at this point in the history
  • Loading branch information
yandeu committed May 21, 2023
1 parent c653e87 commit 9ec0ac0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
17 changes: 8 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"html-validate": "^7.1.1",
"mime-types": "~2.1.24",
"node-html-parser": "~5.4.1",
"open": "^9.1.0",
"open": "github:yandeu/open#cjs",
"parseurl": "~1.3.3",
"selfsigned": "^2.0.0",
"ws": "^8.2.0"
Expand Down Expand Up @@ -95,4 +95,4 @@
"funding": {
"url": "https://github.com/sponsors/yandeu"
}
}
}
4 changes: 3 additions & 1 deletion src/openBrowser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

import { colors } from './colors.js'
import { message } from './msg.js'
import open from 'open'
// import open from 'open'
import _open from 'open/bundle.js'

Check warning on line 10 in src/openBrowser.ts

View workflow job for this annotation

GitHub Actions / build (16, ubuntu-latest)

Imports should be sorted alphabetically

Check warning on line 10 in src/openBrowser.ts

View workflow job for this annotation

GitHub Actions / build (18, ubuntu-latest)

Imports should be sorted alphabetically

Check warning on line 10 in src/openBrowser.ts

View workflow job for this annotation

GitHub Actions / build (20, ubuntu-latest)

Imports should be sorted alphabetically
const { default: open, apps, openApp } = _open

export class OpenBrowser {
constructor(public _open: any) {}
Expand Down

0 comments on commit 9ec0ac0

Please sign in to comment.