From 6ef3ce82b684d3350a449b72049a68534740a6e9 Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Fri, 14 Feb 2025 12:03:31 +0100 Subject: [PATCH] chore: use dfinity utils --- scripts/console.deploy.segments.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/console.deploy.segments.mjs b/scripts/console.deploy.segments.mjs index c8e3f5935..aafc55d16 100755 --- a/scripts/console.deploy.segments.mjs +++ b/scripts/console.deploy.segments.mjs @@ -1,9 +1,8 @@ #!/usr/bin/env node -import { toNullable } from '@dfinity/utils'; +import { assertNonNullish, toNullable } from '@dfinity/utils'; import { fileExists } from '@junobuild/cli-tools'; import { uploadAsset } from '@junobuild/console'; -import { assertNonNullish } from '@junobuild/utils'; import { parse } from '@ltd/j-toml'; import { readFileSync } from 'node:fs'; import { readFile } from 'node:fs/promises';