mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 13:13:49 +01:00
BUGFIX: nano and vim use wrong template for text files (#1770)
This commit is contained in:
parent
48b25d2223
commit
9013ea935a
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user