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')
55// Create the IPFS node instance
66// for simplicity, we create a new repo everytime the node
77// is created, because you can't init already existing repos
8- const repoPath = '' + Math . random ( )
8+ const repoPath = String ( Math . random ( ) )
99const node = new IPFS ( repoPath )
1010const concat = require ( 'concat-stream' )
1111
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class App extends React.Component {
2626
2727 // for simplicity, we create a new repo everytime the node
2828 // is created, because you can't init already existing repos
29- const repoPath = '' + Math . random ( )
29+ const repoPath = String ( Math . random ( ) )
3030 node = new IPFS ( repoPath )
3131
3232 node . init ( { emptyRepo : true , bits : 2048 } , function ( err ) {
Original file line number Diff line number Diff line change 1+ 'use strict'
2+
13var path = require ( 'path' )
24var webpack = require ( 'webpack' )
35
Original file line number Diff line number Diff line change 1818 "npm" : " >=3.0.0"
1919 },
2020 "scripts" : {
21- "lint" : " eslint -c node_modules/ aegir/config/eslintrc.yml src test " ,
21+ "lint" : " aegir-lint " ,
2222 "coverage" : " gulp coverage" ,
2323 "test" : " gulp test" ,
2424 "test:node" : " gulp test:node" ,
5454 "buffer-loader" : " 0.0.1" ,
5555 "chai" : " ^3.5.0" ,
5656 "detect-node" : " ^2.0.3" ,
57+ "eslint-plugin-react" : " ^6.7.1" ,
5758 "execa" : " ^0.5.0" ,
5859 "expose-loader" : " ^0.7.1" ,
5960 "form-data" : " ^2.1.2" ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const repoPath = require('./index').repoPath
77const describeOnlineAndOffline = require ( '../utils/on-and-off' )
88const ipfs = require ( '../utils/ipfs-exec' ) ( repoPath )
99
10- describe . only ( 'object' , ( ) => {
10+ describe ( 'object' , ( ) => {
1111 describeOnlineAndOffline ( repoPath , ( ) => {
1212 it ( 'new' , ( ) => {
1313 return ipfs ( 'object new' ) . then ( ( out ) => {
You can’t perform that action at this time.
0 commit comments