allbuild commit e9254edf

This commit is contained in:
Olivier Gagnon
2022-07-21 15:09:55 -04:00
parent e9254edf5d
commit 2d522ea1e6
17 changed files with 26 additions and 175 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ interface EditorParameters {
}
function isNs2(filename: string): boolean {
return filename.endsWith(".ns") || filename.endsWith(".js");
return filename.endsWith(".js");
}
const newNs2Template = `/** @param {NS} ns */
@@ -137,7 +137,7 @@ export function commonEditor(
}
throw new Error(
`Invalid file. Only scripts (.script, .ns, .js), or text files (.txt) can be edited with ${command}`,
`Invalid file. Only scripts (.script or .js), or text files (.txt) can be edited with ${command}`,
);
});