mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-02-17 10:23:44 +01:00
build fix for duplicate autocomplete
This commit is contained in:
@ -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) {
|
||||||
|
|
||||||
}`;
|
}`;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user