diff --git a/flipt-client-node/src/index.ts b/flipt-client-node/src/index.ts index 410a22a5..6b12ec15 100644 --- a/flipt-client-node/src/index.ts +++ b/flipt-client-node/src/index.ts @@ -7,11 +7,11 @@ import { EvaluationRequest, VariantResult } from './models'; +import * as path from 'path'; let libfile = ''; // get absolute path to libfliptengine -const path = require('path'); switch (os.platform()) { case 'win32': libfile = 'libfliptengine.dll';