@travetto/asset
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -30,3 +30,3 @@ { | ||
}, | ||
"version": "0.0.17" | ||
"version": "0.0.18" | ||
} |
@@ -31,4 +31,2 @@ import * as fs from 'fs'; | ||
throw new Error(`File already exists: ${asset.filename}`); | ||
} else { | ||
res = await this.source.update(asset); | ||
} | ||
@@ -35,0 +33,0 @@ return res; |
@@ -5,3 +5,2 @@ import { Asset, AssetMetadata } from '../model'; | ||
abstract write(file: Asset, stream: NodeJS.ReadableStream): Promise<Asset>; | ||
abstract update(file: Asset): Promise<Asset>; | ||
abstract read(filename: string): Promise<NodeJS.ReadableStream>; | ||
@@ -8,0 +7,0 @@ abstract info(filename: string): Promise<Asset>; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13332
346