Extension: Make extension global

This commit is contained in:
Romain Vigier
2024-03-24 11:15:40 +01:00
parent 790d8903bb
commit 242f29f90d
6 changed files with 26 additions and 33 deletions
+2 -2
View File
@@ -7,6 +7,6 @@
* @param {string} msg Message to print.
*/
export function message(msg) {
if (NTSMetadata['build-type'] === 'debug')
console.log(`[${NTSMetadata.name}] ${msg}`);
if (NTS.metadata['build-type'] === 'debug')
console.log(`[${NTS.metadata.name}] ${msg}`);
}