We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e6b95c commit 2395053Copy full SHA for 2395053
create-pull-request.js
@@ -1,10 +1,11 @@
1
#!/usr/bin/env node
2
-const gitRemoteOriginUrl = require("git-remote-origin-url");
3
-const branchName = require("current-git-branch");
4
-const open = require("open");
5
-const chalk = require("chalk");
6
-const warning = chalk.keyword("orange");
7
-const error = chalk.keyword("red");
+import gitRemoteOriginUrl from "git-remote-origin-url";
+import branchName from "current-git-branch";
+import open from "open";
+import chalk from "chalk";
+
+const warning = chalk.hex("#FFA500");
8
+const error = chalk.red;
9
10
(async () => {
11
try {
0 commit comments