File tree Expand file tree Collapse file tree 12 files changed +13
-15
lines changed Expand file tree Collapse file tree 12 files changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ let xCrawl: typeof IXCrawl
11
11
if ( environment === 'dev' ) {
12
12
xCrawl = require ( 'src/' ) . default
13
13
} else if ( environment === 'pro' ) {
14
- xCrawl = require ( 'publish/dist ' )
14
+ xCrawl = require ( 'publish/' )
15
15
}
16
16
17
17
jest . setTimeout ( 60000 )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ let xCrawl: typeof IXCrawl
12
12
if ( environment === 'dev' ) {
13
13
xCrawl = require ( 'src/' ) . default
14
14
} else if ( environment === 'pro' ) {
15
- xCrawl = require ( 'publish/dist ' )
15
+ xCrawl = require ( 'publish/' )
16
16
}
17
17
18
18
jest . setTimeout ( 60000 )
Original file line number Diff line number Diff line change @@ -4,15 +4,14 @@ import chalk from 'chalk'
4
4
5
5
import IXCrawl from 'src/'
6
6
7
-
8
7
const args = process . argv . slice ( 3 )
9
8
const environment = args [ 0 ]
10
9
11
10
let xCrawl : typeof IXCrawl
12
11
if ( environment === 'dev' ) {
13
12
xCrawl = require ( 'src/' ) . default
14
13
} else if ( environment === 'pro' ) {
15
- xCrawl = require ( 'publish/dist ' )
14
+ xCrawl = require ( 'publish/' )
16
15
}
17
16
18
17
jest . setTimeout ( 60000 )
Original file line number Diff line number Diff line change @@ -4,15 +4,14 @@ import chalk from 'chalk'
4
4
5
5
import IXCrawl from 'src/'
6
6
7
-
8
7
const args = process . argv . slice ( 3 )
9
8
const environment = args [ 0 ]
10
9
11
10
let xCrawl : typeof IXCrawl
12
11
if ( environment === 'dev' ) {
13
12
xCrawl = require ( 'src/' ) . default
14
13
} else if ( environment === 'pro' ) {
15
- xCrawl = require ( 'publish/dist ' )
14
+ xCrawl = require ( 'publish/' )
16
15
}
17
16
18
17
function startPolling ( ) {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ let xCrawl: typeof IXCrawl
11
11
if ( environment === 'dev' ) {
12
12
xCrawl = require ( 'src/' ) . default
13
13
} else if ( environment === 'pro' ) {
14
- xCrawl = require ( 'publish/dist ' )
14
+ xCrawl = require ( 'publish/' )
15
15
}
16
16
17
17
jest . setTimeout ( 60000 )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ let xCrawl: typeof IXCrawl
11
11
if ( environment === 'dev' ) {
12
12
xCrawl = require ( 'src/' ) . default
13
13
} else if ( environment === 'pro' ) {
14
- xCrawl = require ( 'publish/dist ' )
14
+ xCrawl = require ( 'publish/' )
15
15
}
16
16
17
17
jest . setTimeout ( 60000 )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ let xCrawl: typeof IXCrawl
11
11
if ( environment === 'dev' ) {
12
12
xCrawl = require ( 'src/' ) . default
13
13
} else if ( environment === 'pro' ) {
14
- xCrawl = require ( 'publish/dist ' )
14
+ xCrawl = require ( 'publish/' )
15
15
}
16
16
17
17
jest . setTimeout ( 60000 )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ let xCrawl: typeof IXCrawl
11
11
if ( environment === 'dev' ) {
12
12
xCrawl = require ( 'src/' ) . default
13
13
} else if ( environment === 'pro' ) {
14
- xCrawl = require ( 'publish/dist ' )
14
+ xCrawl = require ( 'publish/' )
15
15
}
16
16
17
17
jest . setTimeout ( 60000 )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ let xCrawl: typeof IXCrawl
11
11
if ( environment === 'dev' ) {
12
12
xCrawl = require ( 'src/' ) . default
13
13
} else if ( environment === 'pro' ) {
14
- xCrawl = require ( 'publish/dist ' )
14
+ xCrawl = require ( 'publish/' )
15
15
}
16
16
17
17
jest . setTimeout ( 60000 )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ let xCrawl: typeof IXCrawl
12
12
if ( environment === 'dev' ) {
13
13
xCrawl = require ( 'src/' ) . default
14
14
} else if ( environment === 'pro' ) {
15
- xCrawl = require ( 'publish/dist ' )
15
+ xCrawl = require ( 'publish/' )
16
16
}
17
17
18
18
jest . setTimeout ( 60000 )
You can’t perform that action at this time.
0 commit comments