Project: Switch to Prettier for code formatting
This commit is contained in:
+1
-3
@@ -3,10 +3,8 @@
|
||||
|
||||
/**
|
||||
* Print a message in debug builds.
|
||||
*
|
||||
* @param {string} msg Message to print.
|
||||
*/
|
||||
export function message(msg) {
|
||||
if (NTS.metadata['build-type'] === 'debug')
|
||||
console.log(`[${NTS.metadata.name}] ${msg}`);
|
||||
if (NTS.metadata["build-type"] === "debug") console.log(`[${NTS.metadata.name}] ${msg}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user