Skip to content

Commit f2c7ca4

Browse files
Added a dedicated warning about the "--cache-strategy" option being deleted
1 parent d59ff91 commit f2c7ca4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bin.ts

+4
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,10 @@ const makeWarnedPluggableBin = async (): Promise<Bin> => {
223223
exit('The "--config" option has been renamed to "--config-path" instead');
224224
}
225225

226+
if (isString(args["cache-strategy"])) {
227+
exit('The "--cache-strategy" option has been deleted, since the "metadata" strategy is no longer supported');
228+
}
229+
226230
const bin = await makePluggableBin();
227231
return bin;
228232
};

0 commit comments

Comments
 (0)