Update wmi.js

This commit is contained in:
Namhyeon Go 2024-07-10 20:42:46 +09:00 committed by GitHub
parent 7a98e9c8bf
commit 0a35ade427
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,7 +70,7 @@ var WMIQueryObject = function() {
};
var WMIClassObject = function() {
this._interface = (new WMIQueryObject()).interface;
this._interface = (new WMIQueryObject())._interface;
this.classObject = null;
this.className = "";
this.instance = null;
@ -143,7 +143,7 @@ var WMIClassObject = function() {
};
function create() {
return new WMIQueryObject();
return new WMIQueryObject();
}
function execQuery(query) {
@ -158,6 +158,6 @@ exports.create = create;
exports.execQuery = execQuery;
exports.setClass = setClass;
exports.VERSIONINFO = "WMI interface (wmi.js) version 0.1.2";
exports.VERSIONINFO = "WMI interface (wmi.js) version 0.1.3";
exports.global = global;
exports.require = global.require;