From ae5500a33ad237521f5a0d8019a659659f661baf Mon Sep 17 00:00:00 2001 From: Aleksandr Kanunnikov Date: Sun, 26 Sep 2021 12:10:16 +0300 Subject: [PATCH] use OS module --- test/builder_test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/builder_test.js b/test/builder_test.js index 4e061b92..bee7797f 100644 --- a/test/builder_test.js +++ b/test/builder_test.js @@ -17,7 +17,7 @@ import heimdall from 'heimdalljs'; const multidepRequire = MultidepRequire('test/multidep.json'); const Plugin = multidepRequire('broccoli-plugin', '1.3.0'); const broccoliSource = multidepRequire('broccoli-source', '1.1.0'); -const isWin = process.platform === 'win32'; +const isWin = os.platform() === 'win32'; const Builder = broccoli.Builder; const expect = chai.expect;