Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit 9150024

Browse files
committed
fix typo
1 parent 0ec9be2 commit 9150024

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

scripts/now.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const nowCli = require.resolve('now/download/dist/now');
22
const spawn = require('cross-spawn');
33

4-
export function runNow(args, cb) {
4+
function runNow(args, cb) {
55
const now = spawn(nowCli, args);
66

77
let nowRes = '';
@@ -21,7 +21,7 @@ export function runNow(args, cb) {
2121
});
2222
}
2323

24-
export function runNowAlias(baseArgs, { deployedUrl, aliasUrl }, cb) {
24+
function runNowAlias(baseArgs, { deployedUrl, aliasUrl }, cb) {
2525
console.log(`\nCreating alias for ${deployedUrl}\n`);
2626
const nowAliasArgs = [];
2727
if (aliasUrl) {
@@ -42,3 +42,8 @@ export function runNowAlias(baseArgs, { deployedUrl, aliasUrl }, cb) {
4242

4343
nowAlias.on('close', cb);
4444
}
45+
46+
module.exports = {
47+
runNow,
48+
runNowAlias,
49+
};

0 commit comments

Comments
 (0)