mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
fix lint
This commit is contained in:
parent
d46773b197
commit
0b8c7c950c
@ -108,14 +108,14 @@ export class OceanCompute extends Instantiable {
|
|||||||
private checkOutput(consumerAccount: Account, output?: Output): Output {
|
private checkOutput(consumerAccount: Account, output?: Output): Output {
|
||||||
const isDefault =
|
const isDefault =
|
||||||
!output || (!output.publishAlgorithmLog && !output.publishOutput)
|
!output || (!output.publishAlgorithmLog && !output.publishOutput)
|
||||||
|
|
||||||
if (isDefault) {
|
if (isDefault) {
|
||||||
return {
|
return {
|
||||||
publishAlgorithmLog: false,
|
publishAlgorithmLog: false,
|
||||||
publishOutput: false
|
publishOutput: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
publishAlgorithmLog: output.publishAlgorithmLog,
|
publishAlgorithmLog: output.publishAlgorithmLog,
|
||||||
publishOutput: output.publishOutput,
|
publishOutput: output.publishOutput,
|
||||||
@ -127,7 +127,7 @@ export class OceanCompute extends Instantiable {
|
|||||||
secretStoreUri: output.secretStoreUri || this.config.secretStoreUri
|
secretStoreUri: output.secretStoreUri || this.config.secretStoreUri
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start the execution of a compute job.
|
* Start the execution of a compute job.
|
||||||
* @param {Account} consumerAccount The account of the consumer ordering the service.
|
* @param {Account} consumerAccount The account of the consumer ordering the service.
|
||||||
|
Loading…
Reference in New Issue
Block a user