This repository was archived by the owner on Feb 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ var IPFS = require('ipfs')
5
5
// Create the IPFS node instance
6
6
// for simplicity, we create a new repo everytime the node
7
7
// is created, because you can't init already existing repos
8
- const repoPath = '' + Math . random ( )
8
+ const repoPath = String ( Math . random ( ) )
9
9
const node = new IPFS ( repoPath )
10
10
const concat = require ( 'concat-stream' )
11
11
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class App extends React.Component {
26
26
27
27
// for simplicity, we create a new repo everytime the node
28
28
// is created, because you can't init already existing repos
29
- const repoPath = '' + Math . random ( )
29
+ const repoPath = String ( Math . random ( ) )
30
30
node = new IPFS ( repoPath )
31
31
32
32
node . init ( { emptyRepo : true , bits : 2048 } , function ( err ) {
Original file line number Diff line number Diff line change
1
+ 'use strict'
2
+
1
3
var path = require ( 'path' )
2
4
var webpack = require ( 'webpack' )
3
5
Original file line number Diff line number Diff line change 18
18
"npm" : " >=3.0.0"
19
19
},
20
20
"scripts" : {
21
- "lint" : " eslint -c node_modules/ aegir/config/eslintrc.yml src test " ,
21
+ "lint" : " aegir-lint " ,
22
22
"coverage" : " gulp coverage" ,
23
23
"test" : " gulp test" ,
24
24
"test:node" : " gulp test:node" ,
54
54
"buffer-loader" : " 0.0.1" ,
55
55
"chai" : " ^3.5.0" ,
56
56
"detect-node" : " ^2.0.3" ,
57
+ "eslint-plugin-react" : " ^6.7.1" ,
57
58
"execa" : " ^0.5.0" ,
58
59
"expose-loader" : " ^0.7.1" ,
59
60
"form-data" : " ^2.1.2" ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const repoPath = require('./index').repoPath
7
7
const describeOnlineAndOffline = require ( '../utils/on-and-off' )
8
8
const ipfs = require ( '../utils/ipfs-exec' ) ( repoPath )
9
9
10
- describe . only ( 'object' , ( ) => {
10
+ describe ( 'object' , ( ) => {
11
11
describeOnlineAndOffline ( repoPath , ( ) => {
12
12
it ( 'new' , ( ) => {
13
13
return ipfs ( 'object new' ) . then ( ( out ) => {
You can’t perform that action at this time.
0 commit comments