mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-24 02:03:01 +02:00
MISC: Support css file type (#2378)
This commit is contained in:
@@ -788,7 +788,7 @@ export const ns: InternalAPI<NSFull> = {
|
||||
continue;
|
||||
}
|
||||
if (!path.endsWith(".lit")) {
|
||||
throw helpers.errorMessage(ctx, "Only works for scripts, .lit and .txt files.");
|
||||
throw helpers.errorMessage(ctx, "Only works for script, text, and .lit files");
|
||||
}
|
||||
lits.push(path);
|
||||
}
|
||||
@@ -1611,7 +1611,7 @@ export const ns: InternalAPI<NSFull> = {
|
||||
) {
|
||||
throw helpers.errorMessage(
|
||||
ctx,
|
||||
`'mv' can only be used on scripts (.js, .jsx, .ts, .tsx) and text files (.txt, .json)`,
|
||||
`'mv' can only be used on scripts (.js, .jsx, .ts, .tsx) and text files (.txt, .json, .css)`,
|
||||
);
|
||||
}
|
||||
if (sourcePath === destinationPath) {
|
||||
|
||||
Reference in New Issue
Block a user