build fix for duplicate autocomplete

This commit is contained in:
Olivier Gagnon 2021-10-09 23:07:18 -04:00
parent 06df10d2f9
commit 995a0b11d9

@ -24,7 +24,10 @@ export function nano(
if (script == null) {
let code = "";
if (filename.endsWith(".ns") || filename.endsWith(".js")) {
code = `export async function main(ns) {
code = `/**
* @param {NS} ns
* /
export async function main(ns) {
}`;
}