mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
BUGFIX: nano and vim use wrong template for text files (#1770)
This commit is contained in:
@@ -16,7 +16,7 @@ interface EditorParameters {
|
||||
}
|
||||
|
||||
function getScriptTemplate(path: string): string {
|
||||
if (isLegacyScript(path)) {
|
||||
if (hasTextExtension(path) || isLegacyScript(path)) {
|
||||
return "";
|
||||
}
|
||||
const fileTypeFeature = getFileTypeFeature(getFileType(path));
|
||||
|
||||
Reference in New Issue
Block a user