mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
build fix for duplicate autocomplete
This commit is contained in:
parent
06df10d2f9
commit
995a0b11d9
@ -24,7 +24,10 @@ export function nano(
|
|||||||
if (script == null) {
|
if (script == null) {
|
||||||
let code = "";
|
let code = "";
|
||||||
if (filename.endsWith(".ns") || filename.endsWith(".js")) {
|
if (filename.endsWith(".ns") || filename.endsWith(".js")) {
|
||||||
code = `export async function main(ns) {
|
code = `/**
|
||||||
|
* @param {NS} ns
|
||||||
|
* /
|
||||||
|
export async function main(ns) {
|
||||||
|
|
||||||
}`;
|
}`;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user